This header is part of thetype support library, providingfixed width floating-point types.
Types | ||
(C++23)(optional) | binary floating-point type with width of exactly 16, 32, 64, and 128 bits respectively (typedef)[edit] | |
(C++23)(optional) | brain floating-point type with 16 bits exactly (typedef)[edit] |
The fixed width floating-point types must be aliases to extended floating-point types (notfloat /double /longdouble), therefore not drop-in replacements for standard floating-point types.
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}
<stdfloat>
synopsis [stdfloat.syn]