nan, nanf, nanl
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 <math.h>
|
||
float nanf( const char* arg ); |
||
double nan( const char* arg ); |
||
long double nanl( const char* arg ); |
||
Converte l'implementazione definita
arg
stringa di caratteri nel corrispondente valore tranquilla NaN. Il std::nan("string") chiamata è equivalente alla chiamata std::strtod("NAN(string)", (char**)NULL);.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.
[modifica] Parametri
arg | - | stringa di caratteri narrow identifica il contenuto di un NaN, o una stringa vuota
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. |
[modifica] Valore di ritorno
Il valore NaN corrispondente alla stringa di identificazione
arg
o zero se il implemntation non supporta NaN tranquille. Original:
The NaN value that corresponds to the identifying string
arg
or zero if the implemntation 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.
[modifica] Vedi anche
(C99) |
controlla se il numero dato è 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. (funzione) |
C++ documentation for nan
|