std::numeric_limits<T>:: is_iec559
|
static
const
bool
is_iec559
;
|
(C++11まで) | |
|
static
constexpr
bool
is_iec559
;
|
(C++11以降) | |
std::
numeric_limits
<
T
>
::
is_iec559
の値は、IEC 559 (
IEEE 754
) 規格の要件を満たすすべての浮動小数点型
T
に対して
true
となります。
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
となります。
標準特殊化
T
|
std:: numeric_limits < T > :: is_iec559 の値 |
| /* non-specialized */ | false |
| bool | false |
| char | false |
| signed char | false |
| unsigned char | false |
| wchar_t | false |
| char8_t (C++20以降) | false |
| char16_t (C++11以降) | false |
| char32_t (C++11以降) | false |
| short | false |
| unsigned short | false |
| int | false |
| unsigned int | false |
| long | false |
| unsigned long | false |
| long long (C++11以降) | false |
| unsigned long long (C++11以降) | false |
| float | 通常 true |
| double | 通常 true |
| long double | 通常 true |
関連項目
|
[static]
|
特殊値「正の無限大」を表現できる浮動小数点型を識別する
(public static member constant) |
|
[static]
|
特殊値「quiet not-a-number (NaN)」を表現できる浮動小数点型を識別する
(public static member constant) |
|
[static]
|
特殊値「signaling not-a-number (NaN)」を表現できる浮動小数点型を識別する
(public static member constant) |