nan, nanf, nanl
De cppreference.com
|
|
Esta página se ha traducido por ordenador/computador/computadora de la versión en inglés de la Wiki usando Google Translate.
La traducción puede contener errores y palabras aparatosas/incorrectas. Planea sobre el texto para ver la versión original. Puedes ayudar a corregir los errores y mejorar la traducción. Para instrucciones haz clic aquí. |
| Definido en el archivo de encabezado <math.h>
|
||
float nanf( const char* arg );
|
(desde C99) | |
double nan( const char* arg );
|
(desde C99) | |
long double nanl( const char* arg );
|
(desde C99) | |
Convierte el definido por la implantación
arg cadena de caracteres en el valor correspondiente tranquilo NaN. El std::nan("string") llamada es equivalente a la std::strtod("NAN(string)", (char**)NULL); llamada .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 | - | cadena de caracteres estrecho identificar el contenido de un NaN, o una cadena vacía
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
El valor NaN que corresponde a la cadena de identificación
arg o cero si la implemntation no es compatible con NaNs tranquilas . 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.
Ver también
(C99) |
Comprueba si el número dado es 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. (función) |
Documentación de C++ para nan
|