std::numeric_limits<T>::has_denorm
提供: cppreference.com
< cpp | types | numeric limits
static const std::float_denorm_style has_denorm; |
(C++11未満) | |
static constexpr std::float_denorm_style has_denorm; |
(C++11以上) | |
std::numeric_limits<T>::has_denorm の値は、非正規化数をサポートする浮動小数点型を識別します。
[編集] 標準の特殊化
T
|
std::numeric_limits<T>::has_denorm の値 |
/* 非特殊化 */ | std::denorm_absent |
bool | std::denorm_absent |
char | std::denorm_absent |
signed char | std::denorm_absent |
unsigned char | std::denorm_absent |
wchar_t | std::denorm_absent |
char8_t | std::denorm_absent |
char16_t | std::denorm_absent |
char32_t | std::denorm_absent |
short | std::denorm_absent |
unsigned short | std::denorm_absent |
int | std::denorm_absent |
unsigned int | std::denorm_absent |
long | std::denorm_absent |
unsigned long | std::denorm_absent |
long long | std::denorm_absent |
unsigned long long | std::denorm_absent |
float | 通常は std::denorm_present |
double | 通常は std::denorm_present |
long double | 通常は std::denorm_present |
[編集] 関連項目
[静的] |
指定された浮動小数点型の最も小さな正の非正規化数を返します (パブリック静的メンバ関数) |
浮動小数点の非正規化モードを表します (列挙) |