在线文档教程
C++
应用 | Utilities

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标识支持的浮点类型。低于正常值...

标准专业化

Tvalue of std::numeric_limits::has_denorm
/* non-specialized */std::denorm_absent
boolstd::denorm_absent
charstd::denorm_absent
signed charstd::denorm_absent
unsigned charstd::denorm_absent
wchar_tstd::denorm_absent
char16_tstd::denorm_absent
char32_tstd::denorm_absent
shortstd::denorm_absent
unsigned shortstd::denorm_absent
intstd::denorm_absent
unsigned intstd::denorm_absent
longstd::denorm_absent
unsigned longstd::denorm_absent
long longstd::denorm_absent
unsigned long longstd::denorm_absent
floatusually std::denorm_present
doubleusually std::denorm_present
long doubleusually std::denorm_present

另见

denorm_min staticreturns the smallest positive subnormal value of the given floating-point type (public static member function)
float_denorm_styleindicates floating-point denormalization modes (enum)

© cppreference.com

在CreativeCommonsAttribution下授权-ShareAlike未移植许可v3.0。

http://en.cppreference.com/w/cpp/type/NUMERIC[医]限制/有[医]脱诺姆