std::islessgreater
Da cppreference.com.
![]() | Questa pagina è stata tradotta in modo automatico dalla versione in ineglese della wiki usando Google Translate. La traduzione potrebbe contenere errori e termini strani. Muovi il puntatore sopra al testo per vedere la versione originale. Puoi aiutarci a correggere gli gli errori. Per ulteriori istruzioni clicca qui. |
Elemento definito nell'header <cmath> | ||
bool islessgreater(float x, float y ); | (dal C++11) | |
bool islessgreater(double x, double y ); | (dal C++11) | |
bool islessgreater(longdouble x, longdouble y ); | (dal C++11) | |
Determina se il galleggiante
x
numero del punto è inferiore o superiore alla virgola mobile y
numero, senza stabilire eccezioni a virgola mobile.Original:
Determines if the floating point number
x
is less than or 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.
Indice |
[modifica]Parametri
x | - | valore in virgola mobile 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 | - | valore in virgola mobile 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. |
[modifica]Valore di ritorno
true se x < y || x > y, false altrimenti
Original:
true if x < y || 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.
[modifica]Note
Il built-in operator< e operator> per numeri in virgola mobile possono sollevare FE_INVALID se uno o entrambi gli argomenti è NaN. Questa funzione è una versione "tranquilla" del x < y || x > y espressione.
Original:
The built-in operator< and 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 the expression x < y || x > y.
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.
[modifica]Vedi anche
(C++11) | controlla se il primo a virgola mobile argomento è minore del secondo 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. (funzione) |
(C++11) | controlla se il primo virgola mobile argomento è maggiore del secondo Original: checks if the first floating-point argument is greater 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. (funzione) |