842 Commits

Author SHA1 Message Date
Anders Dalvander
2a6c2604b5 check for IEEE 754 compliance 2024-12-04 09:34:34 +01:00
Anders Dalvander
f23ced2e4e fix for supplemental 2024-12-04 01:02:20 +01:00
Anders Dalvander
baaf58d2dd fix -Werror=maybe-uninitialized 2024-12-04 00:13:20 +01:00
Anders Dalvander
62f526dfd3 fix -Werror=conversion 2024-12-03 23:52:57 +01:00
Anders Dalvander
63bbefad6b templates and types 2024-12-03 23:47:21 +01:00
Anders Dalvander
ac453a091a overly precise tests for imprecise floats 2024-12-03 23:23:35 +01:00
Anders Dalvander
da819feb74 back to std::bit_cast 2024-12-03 23:23:35 +01:00
Anders Dalvander
3b9ff76143 duplicate tests for both float and double 2024-12-03 23:23:34 +01:00
Anders Dalvander
c62b853648 float.rounds_to_nearest 2024-12-03 23:23:34 +01:00
Anders Dalvander
b3acae22ea fix parse_zero and parse_negative_zero output 2024-12-03 23:23:34 +01:00
Anders Dalvander
74e00e1401 fix double test in float region in basictest 2024-12-03 23:23:34 +01:00
Anders Dalvander
558bec8b9b fix logging in basictest 2024-12-03 23:23:34 +01:00
Anders Dalvander
8cee025082 add powers_of_ten/max_mantissa for float16_t/bfloat16_t 2024-12-03 23:23:34 +01:00
Daniel Lemire
6f8fd6728d make it build 2024-12-03 23:23:34 +01:00
Daniel Lemire
c526899951 cleaning. 2024-12-03 23:23:34 +01:00
Daniel Lemire
bfcff49c83 16-bit float support 2024-12-03 23:23:34 +01: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
Daniel Lemire
82865ad475
Update README.md 2024-11-26 10:01:42 -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
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