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. |
| Заголовочный файл <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.
[править] Notes
Встроенный в operator> для чисел с плавающей точкой может установить FE_INVALID если один или оба из аргументов является NaN. Эта функция является "тихой" версии 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. (функция) |