786 Commits

Author SHA1 Message Date
RealTimeChris
4ed10f7e39
Merge branch 'fastfloat:main' into main 2025-01-08 10:04:25 -05:00
Daniel Lemire
be9a8453c4 more iterations 2024-12-13 22:54:04 -05:00
Daniel Lemire
31cc0d1a0e
Merge pull request #295 from fastfloat/dependabot/github_actions/github-actions-d1805d1051
Bump jidicula/clang-format-action from 4.13.0 to 4.14.0 in the github-actions group
2024-12-02 13:22:05 -05:00
dependabot[bot]
832307e7b6
Bump jidicula/clang-format-action in the github-actions group
Bumps the github-actions group with 1 update: [jidicula/clang-format-action](https://github.com/jidicula/clang-format-action).


Updates `jidicula/clang-format-action` from 4.13.0 to 4.14.0
- [Release notes](https://github.com/jidicula/clang-format-action/releases)
- [Commits](c74383674b...d05cecd4a1)

---
updated-dependencies:
- dependency-name: jidicula/clang-format-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: github-actions
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-12-02 01:02:18 +00:00
Anders Dalvander
49aed7782e
Merge pull request #294 from dalle/dalle/equiv_uint_t
* introduce equiv_uint_t helper
* harmonize ifdef checks
* formatted code
2024-12-01 17:01:25 +01:00
Anders Dalvander
3775a81ced formatted code 2024-12-01 16:39:28 +01:00
Anders Dalvander
0a1bf11560 harmonize ifdef checks 2024-12-01 16:36:45 +01:00
Anders Dalvander
3146e686d0 introduce equiv_uint_t 2024-12-01 16:36:17 +01:00
RealTimeChris
1f032e3afd Adding conditional_t for pre-CPP14. 2024-11-27 11:36:19 -05:00
RealTimeChris
d88299dd4c Adding fix for is_integer overflow.
This should avoid using unnecessarily sized unsigned types, while also avoiding overflow.
2024-11-27 07:45:21 -05:00
Daniel Lemire
82865ad475
Update README.md 2024-11-26 10:01:42 -05:00
RealTimeChris
ee79fe6c7e Running clang-format. 2024-11-26 09:18:10 -05:00
RealTimeChris
c23929fc66 Modifying feature detection macro. 2024-11-26 03:45:28 -05:00
RealTimeChris
08108bff7b Updating to fix some issues. 2024-11-26 01:01:38 -05:00
RealTimeChris
3d83d19437
Merge branch 'fastfloat:main' into main 2024-11-25 18:32:50 -05:00
RealTimeChris
d4c573de0b
Update include/fast_float/ascii_number.h
Co-authored-by: Anders Dalvander <anders.dalvander@gmail.com>
2024-11-25 17:43:47 -05:00
Daniel Lemire
0a17150096
Update README.md 2024-11-25 15:49:40 -05:00
Daniel Lemire
7178b7dddd
Merge pull request #293 from fastfloat/add_benchmarks
adding actual benchmarks to the project
2024-11-25 14:13:18 -05:00
Daniel Lemire
8832c532b8 lint 2024-11-25 11:59:48 -05:00
Daniel Lemire
3f2cd66c1c adding actual benchmarks to the project 2024-11-25 11:59:03 -05:00
Anders Dalvander
ac33f96a60
Merge pull request #292 from dalle/dalle/unicode-tests
Add basic tests for all supported char types (char, wchar_t, char8_t, char16_t, char32_t)
2024-11-25 16:01:22 +01:00
Anders Dalvander
396feb6353 add char8_t test 2024-11-25 15:43:51 +01:00
Anders Dalvander
2c4b48d4e0 add unicode_test 2024-11-25 15:39:04 +01:00
RealTimeChris
11a6232927 Adding new loop_parse_if_digits function. [skip ci]
We can eliminate one of the subtractions from within is_made_of_eight_digits_fast and parse_eight_digits_unrolled by instead moving it out into when the value is collected. Additionally, we can also save some overhead by not collecting the value twice for each iteration of the loop within loop_parse_if_eight_digits.
2024-11-24 14:27:21 -05:00
Anders Dalvander
321d3a78b8
Merge pull request #290 from dalle/dalle/fix-scripts
* fixed version updates in release script
* formatted Python scripts with `black` - The uncompromising code formatter (https://black.readthedocs.io/)
* f-string all the things
2024-11-23 11:46:07 +01:00
Anders Dalvander
49068fbfda fix newline in readme 2024-11-23 11:32:39 +01:00
Anders Dalvander
b9793e1cd4 update scripts
* fixed version updates in release script
* formatted Python scripts with `black` - The uncompromising code formatter (https://black.readthedocs.io/)
* f-string all the things
2024-11-23 11:24:39 +01:00
Anders Dalvander
6801b0ca20
Merge pull request #289 from dalle/issue288-char8-support
Support char8_t on C++20
2024-11-23 10:40:32 +01:00
Anders Dalvander
d3f7113d6e add char8_t support 2024-11-23 10:21:48 +01:00
Anders Dalvander
65911af27c
Merge pull request #287 from dalle/fix-clang-warning-unused-function
* Fix clang warning unused function
* `east const` formatting
2024-11-23 09:58:46 +01:00
Anders Dalvander
1a15c66fb9 harmonize files to use "east const"
manually checked modified files for errors, but not committing .clang-format due to the following warning:
>>> Setting `QualifierAlignment` to something other than `Leave`, COULD lead to incorrect code formatting due to incorrect decisions made due to clang-formats lack of complete semantic information. As such extra care should be taken to review code changes made by the use of this option.
2024-11-23 09:46:18 +01:00
Anders Dalvander
7f476cd259 fix clang unused-function warning 2024-11-23 09:04:46 +01:00
Daniel Lemire
54782eb30c
Merge pull request #285 from fastfloat/fix_release_script
the release script will update the header file with the new version numbers (automatically!!!)
2024-11-22 13:38:58 -05:00
Daniel Lemire
f436996266 the release script will update the header file with the new version numbers (automatically!!!) 2024-11-22 13:22:36 -05:00
Daniel Lemire
cf771eaa83
Merge pull request #283 from dalle/issue282-better-error-messages
Better compile time error messages for unsupported types
2024-11-22 13:09:49 -05:00
Daniel Lemire
3d33762eed
Merge pull request #284 from dalle/issue273-version-macros
Add version macros
2024-11-22 12:23:48 -05:00
Anders Dalvander
35d0c8c179 add version macros 2024-11-22 16:44:56 +01:00
Anders Dalvander
74829bb77d better compile time error messages for unsupported types 2024-11-22 16:25:31 +01:00
Daniel Lemire
cb1d42aaa1 version 7 v7.0.0 2024-11-21 13:18:48 -05:00
Daniel Lemire
b9661b41af
Merge pull request #280 from dalle/issue275-deprecate-feature-macros
Add allow_leading_plus and skip_white_space in chars_format
2024-11-21 13:02:17 -05:00
Anders Dalvander
4ed0177782 update and reformat README.md 2024-11-21 18:50:42 +01:00
Anders Dalvander
dead62d440 disable test if fast-math is enabled 2024-11-21 00:09:10 +01:00
Anders Dalvander
50ee38af65 fix for fastfloat_strncasecmp for wchar_t and larger char types 2024-11-21 00:09:05 +01:00
Anders Dalvander
7ff885d45c fix for is_space for wchar_t and larger char types 2024-11-21 00:09:00 +01:00
Anders Dalvander
3e26cf4cea add failing test for wide chars 2024-11-21 00:08:55 +01:00
Anders Dalvander
1e188d9715 add missing json test 2024-11-21 00:08:47 +01:00
Anders Dalvander
43a428d658 remove feature macro from tests 2024-11-21 00:08:43 +01:00
Anders Dalvander
cd28b563fc update rcppfastfloat_test 2024-11-21 00:08:33 +01:00
Anders Dalvander
d80be1a5b0 RFC 8259 obsoletes RFC 7159 2024-11-21 00:08:23 +01:00
Anders Dalvander
48252a6483 check feature macros in once place 2024-11-21 00:08:19 +01:00