IRainman
eee068d3bc
# types fix.
2025-10-21 22:19:04 +03:00
IRainman
336b97d027
# cleanup.
2025-10-21 22:01:22 +03:00
IRainman
487799ede2
# cleanup and speedup digit_comp.
2025-10-21 21:49:21 +03:00
IRainman
0e123c5e82
# fix for digit_comp.
2025-10-21 21:31:19 +03:00
IRainman
5a378ed87f
# minimize diff in the crutch.
2025-10-21 21:14:58 +03:00
IRainman
fe0bce5eb7
# const and constexpr fixes
...
# types fixes.
# FASTFLOAT_ASSERT fix.
2025-10-21 21:08:08 +03:00
IRainman
1dc13a91f1
# improve checking for integer in the FASTFLOAT_ONLY_POSITIVE_C_NUMBER_WO_INF_NAN mode.
2025-10-21 19:56:43 +03:00
IRainman
031f7febbe
# tests are updated
2025-10-21 19:31:28 +03:00
IRainman
4dcaf50c05
Merge branch 'main' of https://github.com/IRainman/fast_float
2025-10-21 18:18:33 +03:00
IRainman
3288e56b34
# compilation fix after merge
2025-10-21 18:18:20 +03:00
HedgehogInTheCPP
322e17b51b
Merge pull request #5 from IRainman/dependabot/github_actions/github-actions-28186ec776
...
Bump the github-actions group across 1 directory with 3 updates
2025-10-21 17:34:47 +03:00
IRainman
240d393bf6
# format
2025-10-21 16:25:35 +03:00
IRainman
72e75ed98f
# compilation fix after merge.
2025-10-21 16:16:18 +03:00
IRainman
0f1a96a389
Merge branch 'main' of https://github.com/fastfloat/fast_float
2025-10-21 15:43:38 +03:00
dependabot[bot]
9f4be55249
Bump the github-actions group across 1 directory with 3 updates
...
Bumps the github-actions group with 3 updates in the / directory: [actions/checkout](https://github.com/actions/checkout ), [github/codeql-action](https://github.com/github/codeql-action ) and [actions/setup-node](https://github.com/actions/setup-node ).
Updates `actions/checkout` from 4 to 5
- [Release notes](https://github.com/actions/checkout/releases )
- [Commits](https://github.com/actions/checkout/compare/v4...v5 )
Updates `github/codeql-action` from 3 to 4
- [Release notes](https://github.com/github/codeql-action/releases )
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md )
- [Commits](https://github.com/github/codeql-action/compare/v3...v4 )
Updates `actions/setup-node` from 4.4.0 to 5.0.0
- [Release notes](https://github.com/actions/setup-node/releases )
- [Commits](49933ea528...a0853c2454 )
---
updated-dependencies:
- dependency-name: actions/checkout
dependency-version: '5'
dependency-type: direct:production
update-type: version-update:semver-major
dependency-group: github-actions
- dependency-name: github/codeql-action
dependency-version: '4'
dependency-type: direct:production
update-type: version-update:semver-major
dependency-group: github-actions
- dependency-name: actions/setup-node
dependency-version: 5.0.0
dependency-type: direct:production
update-type: version-update:semver-major
dependency-group: github-actions
...
Signed-off-by: dependabot[bot] <support@github.com>
2025-10-13 02:28:13 +00:00
Daniel Lemire
e77e2bca7e
Update README.md
2025-10-10 09:23:01 -04:00
Daniel Lemire
24fa687d45
Merge pull request #334 from toughengineer/max-infinity_corner_cases
...
Added corner cases around max value/infinity
2025-10-04 09:50:30 -04:00
Pavel Novikov
88f6c5e367
Added corner cases around max value/infinity
2025-10-04 14:39:00 +03:00
Daniel Lemire
83a4f696d7
Merge pull request #333 from toughengineer/made_function_non-template
...
Made function non-template
2025-09-30 10:25:59 -04:00
Pavel Novikov
1ea4d2563e
made function non-template
...
+fixed a couple of typos
2025-09-30 12:18:29 +03:00
Daniel Lemire
7262d9454e
lint
2025-09-29 15:08:24 -04:00
Daniel Lemire
23f16adad4
Merge pull request #328 from toughengineer/int_multiplication_by_power_of_10
...
Added template overloads for `integer_times_pow10()`
2025-09-29 15:07:54 -04:00
Daniel Lemire
fd98fd6689
specialize for std::float32_t and std::float64_t explicitly
...
credit: @lemire
2025-09-29 21:43:36 +03:00
Pavel Novikov
197c0ffca7
clang format
2025-09-29 21:43:35 +03:00
Pavel Novikov
e9438e64ba
fixed copy&paste error and minor mess
2025-09-29 19:54:25 +03:00
Pavel Novikov
7abb574ffc
added doc to README and examples
2025-09-29 13:00:40 +03:00
Anders Dalvander
04e8e545d8
Merge pull request #330 from jbicha/repology-badge
...
README.md: update repology badge
2025-09-24 22:34:00 +02:00
Jeremy Bícha
e4b949e55b
README.md: update repology badge
2025-09-24 16:08:34 -04:00
HedgehogInTheCPP
c7e0786a87
Update README.md
2025-09-19 19:37:48 +03:00
IRainman
fe376285c7
# types fix after merge from upstream.
2025-09-18 23:57:54 +03:00
IRainman
384fcec12d
# clang format
2025-09-18 22:57:06 +03:00
IRainman
097800a609
# compilation fix after merge from upstream.
2025-09-18 22:41:24 +03:00
IRainman
329282003d
* Readme updated.
2025-09-18 22:18:36 +03:00
IRainman
af8ece24d7
Merge branch 'main' of https://github.com/fastfloat/fast_float
2025-09-18 22:10:37 +03:00
Pavel Novikov
01e505797b
added tests + some refactoring
2025-09-18 21:29:25 +03:00
Pavel Novikov
13345cab65
added template overload for integer_times_pow10()
2025-09-18 21:29:25 +03:00
Daniel Lemire
88b1e5321c
version 8.1.0
v8.1.0
2025-09-18 09:38:45 -06:00
Daniel Lemire
2aa6d0ba72
Merge pull request #326 from fastfloat/patch803
...
Release candidate 8.0.3
2025-09-18 09:37:20 -06:00
Daniel Lemire
0b6d911220
format
2025-09-18 08:30:28 -06:00
Daniel Lemire
2d6574483d
Merge pull request #327 from toughengineer/int_multiplication_by_power_of_10
...
Minor fix of forward declaration
2025-09-18 08:29:57 -06:00
Pavel Novikov
7a77227521
minor fix of forward declaration
2025-09-18 17:02:29 +03:00
Daniel Lemire
e20c952456
Merge pull request #320 from toughengineer/int_multiplication_by_power_of_10
...
Implemented multiplication of integer by a power of 10
2025-09-18 07:48:09 -06:00
Daniel Lemire
bb956b29db
release candidate 8.0.3
2025-09-18 07:44:53 -06:00
Daniel Lemire
48fc5404d4
compatibility fix
2025-09-18 07:44:05 -06:00
Daniel Lemire
e5612e9f72
Merge pull request #325 from InvalidUsernameException/emoji-parses-as-int
...
Do not mis-parse certain wide-character emojis as integer
2025-09-18 07:39:59 -06:00
Daniel Lemire
fb384a4205
Add Blender to the list of projects using fast_float
2025-09-17 23:09:25 -06:00
IRainman
10970dbbae
# cleanup
2025-09-17 00:52:26 +03:00
IRainman
e3aa99448a
# fix for stackvec constructor.
2025-09-16 21:45:58 +03:00
IRainman
af1f8e3ac2
Merge branch 'main' of https://github.com/fastfloat/fast_float
2025-09-16 00:58:58 +03:00
InvalidUsernameException
9d81c71aef
Do not mis-parse certain wide-character emojis as integer
...
When calling ch_to_digit() with a UTF-16 or UTF-32 code unit, it simply
truncates away any data stored in the non-low byte(s) of the code unit.
It then uses a lookup table to determine whether the low byte
corresponds to an ASCII digit. This is incorrect because as soon as any
bit outside the low byte is set, the number will never correspond to a
ASCII digit anymore.
To fix this, we produce a mask that is all zeroes if any bit outside the
low byte is set in the code unit, all ones otherwise. Anding this mask
with the original code unit forces the table lookup to return the
sentinel value from the zero-index if any high bit was set and causes
the code unit not to be parsed as integer.
This bug was discovered when loading Mastodon posts inside the Ladybird
browser where some of Mastodon's JavaScript would trigger the code path
that erroneously parsed the emoji as integer. It had the visible effect
that some digits inside the posts would get rendered as one of the
emojis that parsed to that digit. For more details see this issue:
https://github.com/LadybirdBrowser/ladybird/issues/6205
The emojis in the test case are simply all the emojis used on Mastodon
that caused the bug. They can be found here:
06803422da/app/javascript/mastodon/features/emoji/emoji_map.json
2025-09-15 23:12:28 +02:00