std::numeric_limits::is_iec559
来自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 |
(至 C++11) | |
| static constexpr bool is_iec559 |
(C++11 起) | |
std::numeric_limits<T>::is_iec559true所有的浮点类型
T符合IEC 559(IEEE 754)标准的要求。如果std::numeric_limits<T>::is_iec559是true,然后std::numeric_limits<T>::has_infinity,std::numeric_limits<T>::has_quiet_NaN,并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.
[编辑] 标准的专业
T
|
值的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 | 通常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 | 通常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 | 通常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. |
[编辑] 另请参阅
| [静态的] </ SPAN></div></div>
|
确定浮点类型,可以代表特殊值“正无穷大” 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. (公共静态成员常量) |
| [静态的] </ SPAN></div></div>
|
确定浮点类型,可以代表特殊值“安静的不是一个数字”(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. (公共静态成员常量) |
| [静态的] </ SPAN></div></div>
|
确定浮点类型可以代表的特殊价值“不是一个数字”(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. (公共静态成员常量) |