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, Redis and WebKit/Safari
Apache License 2.0
1.54k stars 132 forks source link

Constexpr big_int #180

Closed leni536 closed 1 year ago

leni536 commented 1 year ago

In this PR I applied constexpr in all functions in float_common.h and big_int.h . The plan is to eventually mark everything constexpr, but maybe it does not need to happen in a single PR.

lemire commented 1 year ago

This looks excessively good to me. Merging.

lemire commented 1 year ago

In an upcoming release, please add your name there: https://github.com/fastfloat/fast_float/blob/main/CONTRIBUTORS

lemire commented 1 year ago

This is brilliant.