Namespaces
Variants

std::numeric_limits<T>:: has_denorm

From cppreference.net
Utilities library
static const std:: float_denorm_style has_denorm ;
(C++11まで)
static constexpr std:: float_denorm_style has_denorm ;
(C++11以降)
(C++23で非推奨)

std:: numeric_limits < T > :: has_denorm の値は、 非正規化数 をサポートする浮動小数点型を識別します。

標準特殊化

T std:: numeric_limits < T > :: has_denorm の値
/* non-specialized */ 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 (C++20以降) std::denorm_absent
char16_t (C++11以降) std::denorm_absent
char32_t (C++11以降) 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 (C++11以降) std::denorm_absent
unsigned long long (C++11以降) std::denorm_absent
float 通常 std::denorm_present
double 通常 std::denorm_present
long double 通常 std::denorm_present

関連項目

[static]
指定された浮動小数点型の最小の正の非正規化値を返す
(public static member function)
浮動小数点非正規化モードを示す
(enum)