Fixed width floating-point types (since C++23)

If the implementation supports any of the following ISO 60559 types as an extended floating-point type, then:

# Notes

The type std::bfloat16_t is known as Brain Floating-Point.

Unlike the fixed width integer types, which may be aliases to standard integer types, the fixed width floating-point types must be aliases to extended floating-point types (not float / double / long double).

# Example

#include <stdfloat>
 
#if __STDCPP_FLOAT64_T__ != 1
    #error "64-bit float type required"
#endif
 
int main()
{
    std::float64_t f = 0.1f64;
}

# See also