std::float_denorm_style(3)
π NAME π
okay so bestie, welcome to std::float_denorm_style(3) β a page from the C++ Standard Libary manual all about the enum that says whether floating-point types support subnormal values. itβs giving tiny-but-iconic enum energy β¨
β¨ Synopsis β¨
this whole vibe is defined in the <limits> header, no cap:
Defined in header <limits>
enum float_denorm_style {
denorm_indeterminate = -1,
denorm_absent = 0, (deprecated in C++23)
denorm_present = 1
};
so the enumeration constants of type std::float_denorm_style indicate support of subnormal values by floating-point types. literally thatβs the whole point π
π Enumeration constants π
std::denorm_indeterminateβ support of subnormal values cannot be determined πstd::denorm_absentβ the type does not support subnormal values. also bestie,denorm_absent = 0is deprecated in C++23, so keep that on your radar π¨std::denorm_presentβ the type allows subnormal values π¦
π«Ά See also π«Ά
has_denormβ identifies the denormalization style used by the floating-point type. itβs tagged[static](public static member constant) π
thatβs the whole page, bestie π this one came from cppreference.com, and its version/date stamp is 2024.06.10 β slay, now go flex your floating-point denorm-style knowledge β¨
π¦ where this page comes from
- nixpkgs unstable: stdman 2024.07.05
- opensuse-leap 16.0: stdman 2024.07.05-bp160.1.9 Β· MIT
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms