std::isunordered
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 isunordered(float x, float y ); | (desde C++11) | |
bool isunordered(double x, double y ); | (desde C++11) | |
bool isunordered(longdouble x, longdouble y ); | (desde C++11) | |
Determina se os números de ponto flutuante e
x
y
são desordenados, ou seja, um ou ambos são NaN e, portanto, não pode ser de forma significativa em comparação com os outros.Original:
Determines if the floating point numbers
x
and y
are unordered, that is, one or both are NaN and thus cannot be meaningfully compared with each other.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]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 qualquer
x
ou y
é NaN, false contrárioOriginal:
true if either
x
or y
is NaN, false otherwiseThe 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
(C++11) | categoriza o valor determinado ponto flutuante Original: categorizes the given 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. (função) |
(C++11) | Verifica se o número dado é NaN Original: checks if the given number is NaN The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (função) |