std::isgreaterequal
来自cppreference.com
|
|
该页由英文版wiki使用Google Translate机器翻译而来。
该翻译可能存在错误或用词不当。鼠标停留在文本上可以看到原版本。你可以帮助我们修正错误或改进翻译。参见说明请点击这里. |
| 在头文件 <cmath> 中定义
|
||
| bool isgreaterequal( float x, float y ); |
(C++11 起) | |
| bool isgreaterequal( double x, double y ); |
(C++11 起) | |
| bool isgreaterequal( long double x, long double y ); |
(C++11 起) | |
确定,如果浮点数
x是大于或等于的浮点数y,而不设置浮点异常.原文:
Determines if the floating point number
x is greater than or equal to the floating-point number y, without setting floating-point exceptions.目录 |
[编辑] 参数
| x | - | 浮点值
|
| y | - | 浮点值
|
[编辑] 返回值
true如果x >= y,false其他方式
[编辑] 注释
如果一个或两个的参数是NaN,内置的operator>=为浮点数,可能会引起FE_INVALID。这个函数是一个“安静”的版本operator>=.
原文:
The built-in operator>= for floating-point numbers may raise FE_INVALID if one or both of the arguments is NaN. This function is a "quiet" version of operator>=.
[编辑] 另请参阅
| 函数对象实施x >= y 原文: function object implementing x >= y (类模板) | |
| (C++11) |
第一浮点参数的检查,如果小于或等于第二个 原文: checks if the first floating-point argument is less or equal than the second (函数) |