Standard library header (C++23) (original) (raw)
This header is part of the type support library, providing fixed width floating-point types.
[edit] Notes
The fixed width floating-point types must be aliases to extended floating-point types (not float / double / long double), therefore not drop-in replacements for standard floating-point types.
[edit] Synopsis
namespace std { #if defined(STDCPP_FLOAT16_T) using float16_t = /* implementation-defined /; #endif #if defined(STDCPP_FLOAT32_T) using float32_t = / implementation-defined /; #endif #if defined(STDCPP_FLOAT64_T) using float64_t = / implementation-defined /; #endif #if defined(STDCPP_FLOAT128_T) using float128_t = / implementation-defined /; #endif #if defined(STDCPP_BFLOAT16_T) using bfloat16_t = / implementation-defined */; #endif }
[edit] References
C++23 standard (ISO/IEC 14882:2024):
17.5 Header
<stdfloat>synopsis [stdfloat.syn]