mirror of
https://github.com/fastfloat/fast_float.git
synced 2026-04-30 19:09:19 +08:00
Update README with note for C users
Added a note for C users to consider ffc.h for high-performance parsing.
This commit is contained in:
parent
9f30728ce9
commit
8514abe2e2
@ -3,6 +3,9 @@
|
|||||||
|
|
||||||
[](https://github.com/fastfloat/fast_float/actions/workflows/ubuntu22.yml)
|
[](https://github.com/fastfloat/fast_float/actions/workflows/ubuntu22.yml)
|
||||||
|
|
||||||
|
*Note: This library is for C++ users. C programmers should consider [ffc.h](https://github.com/kolemannix/ffc.h). It is a high-performance port of fast_float to C.*
|
||||||
|
|
||||||
|
|
||||||
The fast_float library provides fast header-only implementations for the C++
|
The fast_float library provides fast header-only implementations for the C++
|
||||||
from_chars functions for `float` and `double` types as well as integer types.
|
from_chars functions for `float` and `double` types as well as integer types.
|
||||||
These functions convert ASCII strings representing decimal values (e.g.,
|
These functions convert ASCII strings representing decimal values (e.g.,
|
||||||
@ -10,6 +13,7 @@ These functions convert ASCII strings representing decimal values (e.g.,
|
|||||||
even). In our experience, these `fast_float` functions many times faster than
|
even). In our experience, these `fast_float` functions many times faster than
|
||||||
comparable number-parsing functions from existing C++ standard libraries.
|
comparable number-parsing functions from existing C++ standard libraries.
|
||||||
|
|
||||||
|
|
||||||
Specifically, `fast_float` provides the following two functions to parse
|
Specifically, `fast_float` provides the following two functions to parse
|
||||||
floating-point numbers with a C++17-like syntax (the library itself only
|
floating-point numbers with a C++17-like syntax (the library itself only
|
||||||
requires C++11):
|
requires C++11):
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user