Daniel Lemire
42db9ac1de
Merge branch 'main' into P2497R0
2025-09-03 12:04:36 -04:00
Daniel Lemire
2d2b42bb38
forked doctest
2025-06-03 18:15:52 -04:00
Daniel Lemire
73b27b7d68
hmmm
2025-06-02 09:52:34 -04:00
Daniel Lemire
a1e272f515
lint
2025-05-19 18:16:14 -04:00
Daniel Lemire
0458c20061
adding missing file
2025-05-19 18:09:34 -04:00
Daniel Lemire
81b8306c5f
implementation of https://www.open-std.org/jtc1/sc22/wg21/docs/papers/2023/p2497r0.html
2025-05-19 18:08:36 -04:00
Daniel Lemire
95dedd0aed
turning json option into macro parameter
2025-03-09 15:13:43 -04:00
Daniel Lemire
717112d257
lint
2025-02-06 20:25:09 -05:00
Daniel Lemire
f0c709e3e4
ignoring failures
2025-02-06 20:24:43 -05: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
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
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
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
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
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
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
dead62d440
disable test if fast-math is enabled
2024-11-21 00:09:10 +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
1df71f1e9d
add failing test
2024-11-17 16:20:44 +01:00
Carbo Kuo
d65285a48c
Add Bazel build rules.
2024-11-01 09:16:24 -04:00
Pranav Sivaraman
a7ed4e89c7
doctest: if SYSTEM_DOCTEST add a find_package(doctest REQUIRED)
2024-09-08 12:34:44 -04:00
Daniel Lemire
9117ec4f69
formatting
2024-08-31 18:27:44 -04:00
Daniel Lemire
dab0827f97
documentation for issue 261
2024-08-23 19:29:16 -04:00
Daniel Lemire
5ad6aae0b1
lint
2024-08-14 09:57:47 -04:00
Leszek Swirski
b6ce2c4de6
Record parse failure reason and location
...
In parse_number_string, if there is a parse error, report the specific
error as one of the values in a new parse_error enum, and update
lastmatch to match the error location. This allows users of the library
to print more helpful error messages for invalid inputs.
2024-07-23 18:11:10 +02:00
Leszek Swirski
e6777f2eef
Allow JSON empty exponent as trailing junk
...
Revert #251 , and instead allow an invalid trailing empty exponent to be
treated as junk data in JSON parsing. Expand the test suite to test this
case, including testing the trailing junk.
2024-07-23 14:56:42 +02:00
Leszek Swirski
b57207c811
Disallow empty exponent in JSON parsing
...
The JSON spec requires at least one digit in the exponential part, if
specified.
2024-07-22 12:34:58 +02:00
Daniel Lemire
797e3e0bc2
more fixes
2024-01-28 16:01:46 -05:00
Daniel Lemire
a0ea962bf5
more fixes
2024-01-28 15:18:40 -05:00
Daniel Lemire
4dcbd30d3f
More robust tests for C++23
2024-01-28 15:00:27 -05:00
Daniel Lemire
9da74ca5fb
minor fixes
2024-01-28 12:49:00 -05:00
Daniel Lemire
c7e45fea9f
Merge pull request #229 from MTahaK/main
...
Support for float32_t and float64_t
2024-01-28 11:43:54 -05:00
Daniel Lemire
a642af5235
Merge pull request #236 from fastfloat/issue235
...
Verify and fix issue 235
2024-01-28 11:43:35 -05:00
Daniel Lemire
7977ec6054
fix
2024-01-28 11:11:19 -05:00
Daniel Lemire
5334e2ba94
fix
2024-01-28 10:55:02 -05:00