首页
学习
活动
专区
工具
TVP
发布
精选内容/技术社群/优惠产品,尽在小程序
立即前往

std::isgreaterequal

Defined in header <cmath>

?

?

bool isgreaterequal( float x, float y );

(1)

(since C++11)

bool isgreaterequal( double x, double y );

(2)

(since C++11)

bool isgreaterequal( long double x, long double y );

(3)

(since C++11)

bool isgreaterequal( Arithmetic x, Arithmetic y );

(4)

(since C++11)

1-3%29确定浮点数x大于或等于浮点数。y,而不设置浮点异常。

4%29一组重载或函数模板,用于%281-3%29中未涵盖的所有算术类型参数组合。如果有任何争论积分型,它被铸造成double...

参数

x

-

floating point value

y

-

floating point value

返回值

true如果x >= y,,,false否则。

注记

内建operator>=对于浮点数可能会引发FE_INVALID如果其中一个或两个论点都是NaN。这个函数是一个“安静”的版本。operator>=...

另见

greater_equal

function object implementing x >= y (class template)

islessequal (C++11)

checks if the first floating-point argument is less or equal than the second (function)

C等号文件

代码语言:txt
复制
 ? cppreference.com

在CreativeCommonsAttribution下授权-ShareAlike未移植许可v3.0。

扫码关注腾讯云开发者

领取腾讯云代金券

http://www.vxiaotou.com