std::numeric_limits::is_iec559
De cppreference.com
< cpp | types | numeric limits
staticconstbool is_iec559; | (hasta C++11) | |
staticconstexprbool is_iec559; | (desde C++11) | |
El valor de std::numeric_limits<T>::is_iec559 es true para todos los tipos de punto flotante T
que cumplan los requisitos de la norma IEC 559 (IEEE 754) estándar. Si std::numeric_limits<T>::is_iec559 es true, entonces std::numeric_limits<T>::has_infinity, std::numeric_limits<T>::has_quiet_NaN, y std::numeric_limits<T>::has_signaling_NaN son también true.
[editar]Especializaciones estándar
T | valor de std::numeric_limits<T>::is_iec559 |
/* sin especializar */ | 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 | por lo general true |
double | por lo general true |
longdouble | por lo general true |
[editar]Véase también
[estático] | identifica tipos de punto flotante que puede representar el valor especial "infinito positivo" Original: identifies floating-point types that can represent the special value "positive infinity" The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (constante miembro pública estática) |
[estático] | identifica tipos de punto flotante que puede representar el valor especial "tranquilo, no un número" (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. (constante miembro pública estática) |
[estático] | identifica tipos de punto flotante que puede representar el valor especial "señalización no un número" (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. (constante miembro pública estática) |