std::nan, std::nanf, std::nanl – cppreference.com
Aus cppreference.com
<metanoindex/>
<tbody> </tbody>
| definiert in Header <cmath> |
||
|
|
(seit C++11) | |
|
|
(seit C++11) | |
|
|
(seit C++11) | |
Konvertiert die Implementierung definiert Zeichenkette arg in die entsprechende ruhigen NaN Wert. Der Anruf std::nan("string") entspricht dem Anruf 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.
Parameter
| arg | - | schmale Zeichenfolge, die den Inhalt einer NaN oder einer leeren Zeichenfolge Original: narrow character string identifying the contents of a NaN, or an empty string The text has been machine-translated via Google Translate. |
Rückgabewert
Der Wert NaN, die zur Identifizierung von String arg oder Null entspricht, wenn die Umsetzung nicht unterstützt ruhigen NaNs .
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.
Siehe auch
prüft, ob die angegebene Zahl ist NaN Original: checks if the given number is NaN The text has been machine-translated via Google Translate. (Funktion) [edit] | |
gibt einen ruhigen NaN Wert der gegebenen Fließkomma-Typ Original: returns a quiet NaN value of the given floating-point type The text has been machine-translated via Google Translate. (public static Elementfunktion of std::numeric_limits) [edit]
| |