File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed
Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -118,8 +118,8 @@ The library seeks to follow the C++17 (see
118118Furthermore, we have the following restrictions:
119119
120120* We support `float` and `double`, but not `long double`. We also support
121- fixed-width floating-point types such as `std::float32_t` and
122- `std::float64_t `.
121+ fixed-width floating-point types such as `std::float64_t`, `std::float32_t`,
122+ `std::float16_t`, and `std::bfloat16_t `.
123123* We only support the decimal format: we do not support hexadecimal strings.
124124* For values that are either very large or very small (e.g., `1e9999`), we
125125 represent it using the infinity or negative infinity value and the returned
@@ -241,7 +241,8 @@ constexpr double constexptest() {
241241## C++23: Fixed width floating-point types
242242
243243The library also supports fixed-width floating-point types such as
244- ` std::float32_t ` and ` std::float64_t ` . E.g., you can write:
244+ ` std::float64_t ` , ` std::float32_t ` , ` std::float16_t ` , and ` std::bfloat16_t ` .
245+ E.g., you can write:
245246
246247``` C++
247248std::float32_t result;
You can’t perform that action at this time.
0 commit comments