std::numeric_limits::is_iec559
Da 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 is_iec559 |
(até C++11) | |
static constexpr bool is_iec559 |
(desde C++11) | |
O valor da std::numeric_limits<T>::is_iec559 é true para todos os tipos de ponto flutuante
T
que preenchem os requisitos da norma IEC 559 (IEEE 754) padrão. Se std::numeric_limits<T>::is_iec559 true é, em seguida, std::numeric_limits<T>::has_infinity, std::numeric_limits<T>::has_quiet_NaN, e são também std::numeric_limits<T>::has_signaling_NaN true.Original:
The value of std::numeric_limits<T>::is_iec559 is true for all floating-point types
T
which fulfill the requirements of IEC 559 (IEEE 754) standard. If std::numeric_limits<T>::is_iec559 is true, then std::numeric_limits<T>::has_infinity, std::numeric_limits<T>::has_quiet_NaN, and std::numeric_limits<T>::has_signaling_NaN are also 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.
[editar] Especializações padrão
T
|
valor de std::numeric_limits<T>::is_iec559
Original: value of std::numeric_limits<T>::is_iec559 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 | geralmente 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 | geralmente 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 | geralmente 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. |
[editar] Veja também
[estática] |
identifica tipos de ponto flutuante que pode representar o 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. (membro estático público constante) |
[estática] |
identifica tipos de ponto flutuante que podem representar o valor especial "tranquila, não-número um" (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. (membro estático público constante) |
[estática] |
identifica tipos de ponto flutuante que podem representar o valor especial "de sinalização não-número um" (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. (membro estático público constante) |