std::numeric_limits::has_infinity
Aus cppreference.com
< cpp | types | numeric limits
![]() |
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. |
static const bool has_infinity |
(bis C + +11) | |
static constexpr bool has_infinity |
(seit C++11) | |
Der Wert der std::numeric_limits<T>::has_infinity ist true für alle Arten
T
Lage, die die positive Unendlichkeit als eigenständige besonderen Wert. Diese Konstante ist sinnvoll für alle Floating-Point-Typen und ist garantiert true wenn std::numeric_limits<T>::is_iec559 == true .Original:
The value of std::numeric_limits<T>::has_infinity is true for all types
T
capable of representing the positive infinity as a distinct special value. This constant is meaningful for all floating-point types and is guaranteed to be true if std::numeric_limits<T>::is_iec559 == true.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.
[Bearbeiten] Standard Spezialisierungen
T
|
Wert std::numeric_limits<T>::has_infinity
Original: value of std::numeric_limits<T>::has_infinity The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. |
/* non-specialized */ | false |
bool | false |
char | false |
signed char | false |
unsigned char | false |
wchar_t | false |
char16_t | false |
char32_t | false |
short | false |
unsigned short | false |
int | false |
unsigned int | false |
long | false |
unsigned long | false |
long long | false |
unsigned long long | false |
float | Regel true
Original: usually true The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. |
double | Regel true
Original: usually true The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. |
long double | Regel true
Original: usually true The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. |
[Bearbeiten] Siehe auch
[statisch] |
gibt die positive infinity Wert der gegebenen Fließkomma-Typ Original: returns the positive infinity value of the given floating-point type The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (public static Elementfunktion) |
[statisch] |
identifiziert Floating-Point-Typen, die den besonderen Wert "quiet not-a-number" (NaN) darstellen kann Original: identifies floating-point types that can represent the special value "quiet not-a-number" (NaN) The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (public static Mitglied konstanten) |
[statisch] |
identifiziert Floating-Point-Typen, die den besonderen Wert "Signalisierung not-a-number" (NaN) darstellen kann Original: identifies floating-point types that can represent the special value "signaling not-a-number" (NaN) The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (public static Mitglied konstanten) |