std::numeric_limits::has_infinity
Da cppreference.com.
< cpp | types | numeric limits
![]() | 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. |
staticconstbool has_infinity | (fino al c++11) | |
staticconstexprbool has_infinity | (dal C++11) | |
Il valore di std::numeric_limits<T>::has_infinity è true per tutti i tipi
T
in grado di rappresentare l'infinito positivo come un valore distinto speciale. Questa costante è significativo per tutti i tipi a virgola mobile ed è garantito per essere true se 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.
[modifica]Specializzazioni standard
T | valore di 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 |
signedchar | false |
unsignedchar | false |
wchar_t | false |
char16_t | false |
char32_t | false |
short | false |
unsignedshort | false |
int | false |
unsignedint | false |
long | false |
unsignedlong | false |
longlong | false |
unsignedlonglong | false |
float | di solito 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 | di solito 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. |
longdouble | di solito 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. |
[modifica]Vedi anche
[statico] | restituisce il valore positivo infinito di un dato tipo a virgola mobile 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. (metodo pubblico statico) |
[statico] | identifica i tipi a virgola mobile che possono rappresentare il valore speciale "tranquilla, non-a-number" (NaN) 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. (pubblico membro statico costante) |
[statico] | identifica i tipi a virgola mobile che possono rappresentare il valore speciale "segnalazione non-a-number" (NaN) 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. (pubblico membro statico costante) |