fastfloat / fast_float

Fast and exact implementation of the C++ from_chars functions for number types: 4x to 10x faster than strtod, part of GCC 12, Chromium and WebKit/Safari
Apache License 2.0
1.35k stars 124 forks source link

Support for float32_t and float64_t #229

Closed MTahaK closed 7 months ago

MTahaK commented 9 months ago

Addresses part of issue #88. Adds support for the float32_t and float64_t fixed-width types introduced in C++23 by passing in a float or a double respectively, since they are equivalent under certain cases. Includes a few tests for each fixed-width type.

lemire commented 9 months ago

Running tests.

lemire commented 7 months ago

Running tests again.

lemire commented 7 months ago

I'll merge and fix.