mirror of
https://github.com/fastfloat/fast_float.git
synced 2025-12-06 16:56:57 +08:00
preparing version 6.1.0
This commit is contained in:
parent
fade2357ba
commit
3ab68b69d1
12
README.md
12
README.md
@ -165,6 +165,16 @@ constexpr double constexptest() {
|
|||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
|
## C++23: Fixed width floating-point types
|
||||||
|
|
||||||
|
The library also supports fixed-width floating-point types such as `std::float32_t` and `std::float64_t`. E.g., you can write:
|
||||||
|
|
||||||
|
```C++
|
||||||
|
std::float32_t result;
|
||||||
|
auto answer = fast_float::from_chars(f.data(), f.data() + f.size(), result);
|
||||||
|
``````
|
||||||
|
|
||||||
|
|
||||||
## Non-ASCII Inputs
|
## Non-ASCII Inputs
|
||||||
|
|
||||||
We also support UTF-16 and UTF-32 inputs, as well as ASCII/UTF-8, as in the following example:
|
We also support UTF-16 and UTF-32 inputs, as well as ASCII/UTF-8, as in the following example:
|
||||||
@ -371,7 +381,7 @@ the command line help.
|
|||||||
|
|
||||||
You may directly download automatically generated single-header files:
|
You may directly download automatically generated single-header files:
|
||||||
|
|
||||||
https://github.com/fastfloat/fast_float/releases/download/v6.0.0/fast_float.h
|
https://github.com/fastfloat/fast_float/releases/download/v6.1.0/fast_float.h
|
||||||
|
|
||||||
## RFC 7159
|
## RFC 7159
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user