std::numeri...::is_iec559(3)
π NAME π
Okay so this is the std::numeri...::is_iec559(3) page from the C++ Standard Libary manual, bestie. The NAME is literally std::numeric_limits::is_iec559 - std::numeric_limits::is_iec559. Yes, both sides. Iconic. β¨
πΈ Synopsis πΈ
First up, the signature vibe:
static const bool is_iec559; (until C++11)
static constexpr bool is_iec559; (since C++11)
The value of std::numeric_limits<T>::is_iec559 is true for all floating-point types T which fulfill the requirements of IEC 559 (IEEE 754) standard. If std::numeric_limits<T>::is_iec559 is true, then std::numeric_limits<T>::has_infinity, std::numeric_limits<T>::has_quiet_NaN, and std::numeric_limits<T>::has_signaling_NaN are also true. No cap. π―
π Standard specializations π
Here's the whole squad: for each T, the value of std::numeric_limits<T>::is_iec559 is...
/* non-specialized */βfalseboolβfalsecharβfalsesigned charβfalseunsigned charβfalsewchar_tβfalsechar8_t (since C++20)βfalsechar16_t (since C++11)βfalsechar32_t (since C++11)βfalseshortβfalseunsigned shortβfalseintβfalseunsigned intβfalselongβfalseunsigned longβfalselong long (since C++11)βfalseunsigned long long (since C++11)βfalsefloatβ usuallytruedoubleβ usuallytruelong doubleβ usuallytrue
π See also π
has_infinityβ identifies floating-point types that can represent the special[static]value"positive infinity"(public static member constant).has_quiet_NaNβ identifies floating-point types that can represent the special[static]value"quiet not-a-number"(NaN) (public static member constant).has_signaling_NaNβ identifies floating-point types that can represent the special[static]value"signaling not-a-number"(NaN) (public static member constant).
That's the whole page, bestie. Source/version: http://cppreference.com; date: 2024.06.10; page: std::numeri...::is_iec559(3). Go forth and vibe check your floating-point types! ππ¦
π¦ 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