std::numeric_limits::has_denorm
STD::数字[医]限制::[医]脱诺姆
static const std::float_denorm_style has_denorm | | (until C++11) |
---|---|---|
static constexpr std::float_denorm_style has_denorm | | (since C++11) |
价值std::numeric_limits<T>::has_denorm标识支持的浮点类型。低于正常值...
标准专业化
T | value of std::numeric_limits |
---|---|
/* 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 |
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 | usually std::denorm_present |
double | usually std::denorm_present |
long double | usually std::denorm_present |
另见
denorm_min static | returns the smallest positive subnormal value of the given floating-point type (public static member function) |
---|---|
float_denorm_style | indicates floating-point denormalization modes (enum) |
© cppreference.com
在CreativeCommonsAttribution下授权-ShareAlike未移植许可v3.0。