1632 Commits

Author SHA1 Message Date
HedgehogInTheCPP
146faa39b9
Merge c982adabbdb797411477eec57e878effdec030c0 into 0de7a21da582b6c84b0546772a96549882905d2b 2026-10-27 20:41:45 +00:00
HedgehogInTheCPP
c982adabbd Merge branch 'main' of https://github.com/fastfloat/fast_float 2026-10-27 23:41:35 +03:00
Daniel Lemire
0de7a21da5 Run clang-format 2026-10-17 08:55:50 -04:00
Daniel Lemire
638a8acd6d
Merge pull request #426 from sahvx655-wq/power-negative-shift
Avoid right-shifting a negative value in detail::power()
2026-10-17 08:54:58 -04:00
Sahana Bogar
90513adca1 Avoid right-shifting a negative value in detail::power() 2026-10-15 11:53:39 +05:30
HedgehogInTheCPP
e532c98fa2 Merge branch 'main' of https://github.com/IRainman/fast_float 2026-10-13 19:09:58 +03:00
HedgehogInTheCPP
4644f644cc lint unfck 2026-10-13 19:09:52 +03:00
HedgehogInTheCPP
5da72410dc
Merge pull request #27 from IRainman/dependabot/github_actions/github-actions-2f4c4b3894
Bump actions/setup-node from 7.0.0 to 7.1.0 in the github-actions group
2026-10-13 19:02:15 +03:00
HedgehogInTheCPP
f04deb4143 lint unfck 2026-10-13 18:59:22 +03:00
HedgehogInTheCPP
da9b5f2bbf Merge branch 'main' of https://github.com/fastfloat/fast_float 2026-10-13 18:56:22 +03:00
Daniel Lemire
166d2b3df2
Merge pull request #425 from fastfloat/fix-424-fixed-width-invalid
Leave std::float32_t/std::float64_t unmodified on invalid input (fixes #424)
2026-10-12 10:11:38 -04:00
Daniel Lemire
9cd6dfc8e3 Leave std::float32_t/std::float64_t unmodified on invalid input (fixes #424)
The fixed-width wrappers parsed into a zero-initialized temporary and
copied it back unconditionally, so invalid input overwrote the
destination with zero. Copy back only when the result is not
invalid_argument, as required by [charconv.from.chars]/1.
2026-10-12 10:10:54 -04:00
dependabot[bot]
a9a89c0580
Bump actions/setup-node from 7.0.0 to 7.1.0 in the github-actions group
Bumps the github-actions group with 1 update: [actions/setup-node](https://github.com/actions/setup-node).


Updates `actions/setup-node` from 7.0.0 to 7.1.0
- [Release notes](https://github.com/actions/setup-node/releases)
- [Commits](8207627860...949feb2413)

---
updated-dependencies:
- dependency-name: actions/setup-node
  dependency-version: 7.1.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: github-actions
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-10-12 05:57:18 +00:00
Daniel Lemire
033f64f608
Merge pull request #423 from sahvx655-wq/fuzz-coverage
extend fuzzer to wide char types, integer parsing and all formats
2026-10-11 17:35:37 -04:00
github-actions[bot]
c38bce7b3e Version 8.3.4 2026-10-11 21:08:36 +00:00
github-actions[bot]
6480055523 Version 8.3.3 2026-10-11 21:03:03 +00:00
Sahana Bogar
e7e0cfcd4f extend fuzzer to wide char types, integer parsing and all formats 2026-10-12 01:55:39 +05:30
HedgehogInTheCPP
448e6c8fd9 reduce data cache pressure. 2026-10-10 18:37:15 +03:00
HedgehogInTheCPP
ad630d9c2e Merge branch 'main' of https://github.com/fastfloat/fast_float 2026-10-10 01:54:56 +03:00
github-actions[bot]
42f254836e Version 8.3.2 v8.3.2 2026-10-09 19:56:38 +00:00
Daniel Lemire
91aef729bd
Merge pull request #422 from sahvx655-wq/is-integer-signed-overflow
avoid signed overflow in is_integer on negative wchar_t units
2026-10-09 15:54:46 -04:00
Sahana Bogar
50f01dbb51 avoid signed overflow in is_integer for negative code units 2026-10-08 19:12:13 +05:30
Daniel Lemire
54571f86e3
Merge pull request #421 from sahvx655-wq/times-pow10-int64-min
avoid signed negation overflow in integer_times_pow10
2026-10-06 19:48:48 -04:00
Sahana Bogar
1271675129 avoid signed negation overflow in integer_times_pow10
Negating the most negative int64_t is undefined behaviour. GCC at -O2 uses that to turn the fast-path mantissa bound into a signed compare and returns the wrong sign, so take the magnitude in uint64_t instead.
2026-10-05 22:46:40 +05:30
github-actions[bot]
f3f02c8ad0 Version 8.3.1 v8.3.1 2026-10-04 16:26:53 +00:00
Daniel Lemire
963467e89d
Merge pull request #420 from fastfloat/release-workflow
Add manually triggered release workflow; fix on-release asset upload
2026-10-04 12:24:46 -04:00
Daniel Lemire
e62540e95f Add manually triggered release workflow; fix on-release asset upload
- New release.yml (workflow_dispatch): bumps patch/minor/major, runs
  script/release.py, tests the amalgamation and the full test suite,
  commits and tags on main, and publishes a release with fast_float.h.
- on-release.yml: the upload failed with 'Validation Failed' because
  fast_float.h was already attached to the release. Use
  'gh release upload --clobber' instead of the deprecated
  actions/upload-release-asset, and run the amalgamation test binary.
- release.py: also bump MODULE.bazel (stuck at 8.2.4) and exit non-zero
  if amalgamation fails.
2026-10-04 12:05:40 -04:00
Daniel Lemire
3e4f80fcc4
Merge pull request #419 from fastfloat/fix-418-struct-layout
Reorder parsed_number_string_t fields to avoid padding (fixes #418)
2026-10-04 11:59:23 -04:00
Daniel Lemire
fe5e97eeac Reorder parsed_number_string_t fields to avoid padding (fixes #418)
Placing the parse_error field next to the booleans shrinks the struct
from 72 to 64 bytes on 64-bit systems, recovering a large performance
regression observed with MSVC. Add a static_assert to guard the size.
2026-10-04 09:34:39 -04:00
Daniel Lemire
9498cc361e
Merge pull request #417 from fastfloat/fix-alpine-ci
CI: pin Alpine to v3.22 to fix setup-alpine failures
2026-09-26 15:30:01 -04:00
Daniel Lemire
c31e0294c3 CI: pin Alpine to v3.22 (setup-alpine v1 fails with apk-tools v3) 2026-09-26 14:53:33 -04:00
HedgehogInTheCPP
3bf6360bfa Merge branch 'main' of https://github.com/fastfloat/fast_float 2026-09-26 19:18:33 +03:00
Daniel Lemire
1dc46a6b8f
Merge pull request #409 from caolanm/main
drop the unreachable tail of parse_mantissa
2026-09-25 18:21:25 -04:00
HedgehogInTheCPP
1e10ad47c7 Merge branch 'main' of https://github.com/fastfloat/fast_float 2026-09-24 00:51:31 +03:00
HedgehogInTheCPP
5f8293324b cleanup. 2026-09-24 00:41:45 +03:00
Daniel Lemire
f103228650
Merge pull request #415 from Algunenano/fix-benchmark-branch-misses
Average branch misses over the repetitions in the benchmark
2026-09-23 14:12:38 -04:00
Raúl Marín
38168208f6 Average branch misses over the repetitions in the benchmark
bm/f printed the total over all repetitions per float, unlike the other counters.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-09-23 19:12:41 +02:00
HedgehogInTheCPP
b5a2f54e30 Readme update. 2026-09-23 03:54:18 +03:00
HedgehogInTheCPP
2f67e94234 Merge branch 'main' of https://github.com/IRainman/fast_float 2026-09-23 03:36:02 +03:00
HedgehogInTheCPP
385b22592f compilation fix. 2026-09-23 03:35:55 +03:00
HedgehogInTheCPP
d3e3a2f5d2
Merge pull request #26 from IRainman/main-cf-autofix
Apply fixes from CodeFactor
2026-09-23 03:28:30 +03:00
codefactor-io
59bd494918
[CodeFactor] Apply fixes 2026-09-23 00:25:33 +00:00
HedgehogInTheCPP
d2934c2f46 compilation fix. 2026-09-23 03:22:44 +03:00
HedgehogInTheCPP
4aae299916 compilation fix. 2026-09-23 03:09:06 +03:00
HedgehogInTheCPP
42cd121f12 compilation fix. 2026-09-23 03:00:41 +03:00
HedgehogInTheCPP
f89bb255b6 lint unfck. 2026-09-23 02:53:12 +03:00
HedgehogInTheCPP
ac96536399 Cleanup for code related with merge and add some documentation.
Merge branch 'main' of https://github.com/fastfloat/fast_float
2026-09-23 02:51:34 +03:00
Daniel Lemire
cdc385d058
Merge pull request #408 from jadidbourbaki/float16-exactness
Fix std::float16_t rounding of subnormal ties and fast-path overflow
2026-09-22 14:11:44 -04:00
Daniel Lemire
82623d83c5 Avoid right-shifting a negative value in subnormal_ties_possible() 2026-09-22 13:57:31 -04:00
Daniel Lemire
7969d5089c
Merge pull request #413 from fastfloat/clang-format-fold
Fold the format at compile time under clang, mark cold checks unlikely
2026-09-21 22:51:08 -04:00