std::nan, std::nanf, std::nanl
De cppreference.com
<metanoindex/>
<tbody> </tbody>| Definido no cabeçalho <cmath>
|
||
float nanf( const char* arg ); |
(desde C++11) | |
double nan( const char* arg ); |
(desde C++11) | |
long double nanl( const char* arg ); |
(desde C++11) | |
Converte a aplicação definida
arg seqüência de caracteres para o valor correspondente NaN silencioso. O std::nan("string") chamada é equivalente ao std::strtod("NAN(string)", (char**)NULL); chamada.Original:
Converts the implementation-defined character string
arg into the corresponding quiet NaN value. The call std::nan("string") is equivalent to the call std::strtod("NAN(string)", (char**)NULL);.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.
Parâmetros
| arg | - | cadeia de caracteres estreita identificar o conteúdo de um NaN, ou uma string vazia
Original: narrow character string identifying the contents of a NaN, or an empty string The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. |
Valor de retorno
O valor NaN que corresponde ao
arg string de identificação ou zero se a implementação não suporta NaNs tranquilos. Original:
The NaN value that corresponds to the identifying string
arg or zero if the implementation does not support quiet NaNs. 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.
