std::islessequal
Da 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. |
Definido no cabeçalho <cmath>
|
||
bool islessequal( float x, float y ); |
(desde C++11) | |
bool islessequal( double x, double y ); |
(desde C++11) | |
bool islessequal( long double x, long double y ); |
(desde C++11) | |
Determina se o
x
número de ponto flutuante é menor ou igual ao y
número de ponto flutuante, sem definir exceções de ponto flutuante.Original:
Determines if the floating point number
x
is less than or equal to 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.
Índice |
[editar] Parâmetros
x | - | flutuando valor de ponto
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 | - | flutuando valor de ponto
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. |
[editar] Valor de retorno
true se x <= y, false contrário
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.
[editar] Notas
O operator<= built-in para números de ponto flutuante pode levantar FE_INVALID se um ou ambos os argumentos é NaN. Esta função é uma versão "tranqüila" operator<=.
Original:
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<=.
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.
[editar] Veja também
objeto de função implementar 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. (modelo de classe) | |
(C++11) |
Verifica se o argumento de ponto flutuante primeira é maior ou igual do que o segundo Original: checks if the first floating-point argument is greater or equal 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. (função) |