Repository navigation
Releases
Releases · fastfloat/fast_float
Version 9.0.0
What's Changed
- Read large decimal exponents in full by @lemire in #442
- Parse integers of up to 7 digits with a single SWAR step by @lemire in #438
- Parse hexadecimal floating-point numbers with chars_format::hex by @lemire in #441
- Add performance hints: unpredictable_sign, assume_round_to_nearest, short_numbers by @lemire in #434
Full Changelog: v8.4.0...v9.0.0
Version 8.4.0
What's Changed
- Add FASTFLOAT_ROUNDS_TO_NEAREST to skip the rounding-mode check by @lemire in #432
- Benchmark fast_float with and without FASTFLOAT_ROUNDS_TO_NEAREST by @lemire in #433
- Avoid zero-filling bigint buffers in the slow path (C++26 [[indeterminate]]) by @lemire in #440
Full Changelog: v8.3.3...v8.4.0
Version 8.3.3
What's Changed
- extend fuzzer to wide char types, integer parsing and all formats by @sahvx655-wq in #423
- Leave std::float32_t/std::float64_t unmodified on invalid input (fixes #424) by @lemire in #425
- Avoid right-shifting a negative value in detail::power() by @sahvx655-wq in #426
- Reject integer_times_pow10 arguments wider than 64 bits by @aikhanjum in #431
- Silence -Wc++20-extensions at the remaining [[unlikely]] sites by @CODER-7777 in #430
New Contributors
- @aikhanjum made their first contribution in #431
- @CODER-7777 made their first contribution in #430
Full Changelog: v8.3.2...v8.3.3
Version 8.3.2
What's Changed
- avoid signed negation overflow in integer_times_pow10 by @sahvx655-wq in #421
- avoid signed overflow in is_integer on negative wchar_t units by @sahvx655-wq in #422
Full Changelog: v8.3.1...v8.3.2
Version 8.3.1
What's Changed
- Keep chars_format::javascript out of the common hot path by @Algunenano in #410
- Restore the simple loop in fastfloat_strncasecmp by @lemire in #412
- Fold the format at compile time under clang, mark cold checks unlikely by @lemire in #413
- Fix std::float16_t rounding of subnormal ties and fast-path overflow by @jadidbourbaki in #408
- Average branch misses over the repetitions in the benchmark by @Algunenano in #415
- drop the unreachable tail of parse_mantissa by @caolanm in #409
- CI: pin Alpine to v3.22 to fix setup-alpine failures by @lemire in #417
- Reorder parsed_number_string_t fields to avoid padding (fixes #418) by @lemire in #419
- Add manually triggered release workflow; fix on-release asset upload by @lemire in #420
New Contributors
- @Algunenano made their first contribution in #410
- @jadidbourbaki made their first contribution in #408
- @caolanm made their first contribution in #409
Full Changelog: v8.3.0...v8.3.1
Version 8.3.0
What's Changed
- New
chars_format::javascriptformat (ECMAScript DecimalLiteral): like JSON, but the integer part may be empty (.5) and the fractional part may be empty (5.,5.e3); leading zeros,infandnanare rejected. #407 - New
chars_format::javascript_sloppyformat: additionally accepts sloppy-modeNonOctalDecimalIntegerLiteral(08.5is 8.5). A legacy octal literal (0775) is rejected with the newparse_error::legacy_octal_integer_partso it can be parsed in base 8. - Faster integer-part scanning (4-digit SWAR on GCC) and skipping the rounding-mode probe for long mantissas by @fcostaoliveira in #398
- Avoid old-style casts by @lemire in #405
- Fix compatibility with
min()/max()macros by @dg0yt in #399 - Guard
is_spaceagainst negative signed code units by @sahvx655-wq in #395 - docs: fix strtod function name in README by @latent-9 in #404
Full Changelog: v8.2.10...v8.3.0
Version 8.2.10
What's Changed
Full Changelog: v8.2.9...v8.2.10
Version 8.2.9
What's Changed
- Remove an else if statement that is always false by @correctmost in #390
- Remove an unreachable return statement by @correctmost in #389
- Fix compile error with gcc 9: use of [[unlikely]] by @biojppm in #392
- reject non-digit wide code units in uint8/uint16 integer fast path by @sahvx655-wq in #391
New Contributors
- @correctmost made their first contribution in #390
- @sahvx655-wq made their first contribution in #391
Full Changelog: v8.2.8...v8.2.9
Version 8.2.8
What's Changed
Full Changelog: v8.2.7...v8.2.8
Version 8.2.7
What's Changed
- Fix spelling by @jwakely in #385
- Skip materializing parsed_number_string_t spans on the hot path by @fcostaoliveira in #387
Full Changelog: v8.2.6...v8.2.7