std::isgreater
来自cppreference.com
|
|
This page has been machine-translated from the English version of the wiki using Google Translate.
The translation may contain errors and awkward wording. Hover over text to see the original version. You can help to fix errors and improve the translation. For instructions click here. |
| Defined in header <cmath>
|
||
| bool isgreater( float x, float y ); |
(C++11 起) | |
| bool isgreater( double x, double y ); |
(C++11 起) | |
| bool isgreater( long double x, long double y ); |
(C++11 起) | |
确定,如果浮点数
x是比的浮点数(y),没有设置浮点异常.Original:
Determines if the floating point number
x is greater than the floating-point number (y), without setting floating-point exceptions.The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
You can help to correct and verify the translation. Click here for instructions.
目录 |
[编辑] 参数
| x | - | 浮点值
Original: floating point value The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. |
| y | - | 浮点值
Original: floating point value The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. |
[编辑] 返回值
true如果x > y,false其他方式
Original:
true if x > y, false otherwise
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
You can help to correct and verify the translation. Click here for instructions.
[编辑] 注释
如果一个或两个的参数为NaN,则可以设置内置的operator>为浮点数FE_INVALID。这个函数是一个“安静”的版本operator>.
Original:
The built-in operator> for floating-point numbers may set FE_INVALID if one or both of the arguments is NaN. This function is a "quiet" version of operator>.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
You can help to correct and verify the translation. Click here for instructions.
[编辑] 另请参阅
| 函数对象实施x > y Original: function object implementing x > y The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (类模板) | |
| (C++11) |
第一浮点参数的检查,如果是小于第二个 Original: checks if the first floating-point argument is less than the second The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (函数) |