662 Commits

Author SHA1 Message Date
Daniel Lemire
5223d7a460 address issues raised by @mayawarrier 2023-04-26 18:25:27 -04:00
Daniel Lemire
545c184596 Stack!!! 2023-04-26 16:53:44 -04:00
Maya Warrier
65bd922e38 Merge remote-tracking branch 'upstream/main'
- Fix conflicts
2023-04-26 16:47:42 -04:00
Daniel Lemire
acce5b4158 Documentation. 2023-04-26 16:46:09 -04:00
Daniel Lemire
927eb9bcd2 Merge branch 'main' of https://github.com/Pharago/fast_float into other_chars 2023-04-26 16:40:09 -04:00
Maya Warrier
89fc24007a Clean up 2023-04-26 16:25:41 -04:00
Daniel Lemire
dc88f6f882
Merge pull request #196 from fastfloat/dlemire/issue195
Removing dead code.
2023-04-26 15:39:15 -04:00
Daniel Lemire
1b9afafed5 Removing old CI 2023-04-21 15:56:56 -04:00
Maya Warrier
653790b5f3 fixes 2023-04-16 00:36:52 -04:00
Maya Warrier
c849b7a8ff Option to forbid nan/inf, refactor 2023-04-15 23:16:01 -04:00
Daniel Lemire
11eeab5463 Removing dead code. 2023-04-11 14:29:30 -04:00
Pharago
ece3b3886b Fix storage class errors on non msvc builds
Removed storage class declarations from explicit template specializations of string constants
2023-04-06 20:58:31 +02:00
Pharago
2bfbe4ca96 cosmetic changes 2023-04-06 00:58:34 +02:00
Pharago
764341c1d9 Revert "Update CONTRIBUTORS"
This reverts commit d833148d7ebc51c3549adb834937759040dfcc15.
2023-04-06 00:41:11 +02:00
Pharago
593709f056
Merge branch 'main' into main 2023-04-05 03:31:35 +02:00
Daniel Lemire
24374ece71
Update README.md 2023-04-04 14:27:06 -04:00
Daniel Lemire
ad3ff05751
Merge pull request #194 from aras-p/main
Fix warnings with -Wundef
2023-04-04 14:24:54 -04:00
Aras Pranckevičius
21fefa5b44
Fix warnings with -Wundef
- FASTFLOAT_ALLOWS_LEADING_PLUS and FASTFLOAT_SKIP_WHITE_SPACE are not defined by default, and compiling with -Wundef is emitting warnigns like "FASTFLOAT_ALLOWS_LEADING_PLUS is not defined, evaluates to 0".
- Likewise for FASTFLOAT_VISUAL_STUDIO, change checks to use #ifdef for that like in other places.
- __cpp_lib_bit_cast and __cpp_lib_is_constant_evaluated are not defined pre-C++20, and are emitting a warning too.
2023-04-04 21:18:57 +03:00
Pharago
148606637c
Merge branch 'fastfloat:main' into main 2023-04-03 02:25:46 +02:00
Daniel Lemire
f34e880ece
Merge pull request #193 from fastfloat/issue_191
We need to update some of our exhaustive tests to the new API
2023-04-02 19:44:03 -04:00
Pharago
1db8f62f8b
Merge branch 'fastfloat:main' into main 2023-04-02 23:49:31 +02:00
Daniel Lemire
ca43e6722e We need to update some of our exhaustive tests to the new API 2023-04-02 17:43:17 -04:00
Daniel Lemire
843fb97064
Merge pull request #190 from alugowski/fix_subnormal_tests
Fix subnormal test fails on GCC 9
2023-04-02 17:21:16 -04:00
Pharago
d833148d7e Update CONTRIBUTORS 2023-04-02 23:08:14 +02:00
Pharago
bc77f956e2 Initial Unicode release
Added support for the other char types
2023-04-02 22:58:01 +02:00
Maya Warrier
cda25408bc Optimize char16_t parsing for digit_comparison.h 2023-04-02 00:33:52 -04:00
Maya Warrier
2d57c09530 Fixes 2023-04-01 23:29:00 -04:00
Maya Warrier
8a9a9d538a SIMD optimization to parse 8 char16_t at a time 2023-04-01 22:43:00 -04:00
Maya Warrier
f59f73c4da Disable simd-related warnings 2023-04-01 04:09:00 -04:00
Adam Lugowski
ca90e36413 Fix subnormal test fails on GCC 9 2023-03-31 17:09:36 -07:00
Daniel Lemire
fbd5bd712e Bumping version v4.0.0 2023-03-30 18:37:48 -04:00
Daniel Lemire
c6303d3593 Merge branch 'main' of github.com:fastfloat/fast_float 2023-03-30 18:36:18 -04:00
Daniel Lemire
d41d507e8c
Merge pull request #189 from alugowski/out_of_range
Set errc::result_out_of_range on over/underflow
2023-03-30 18:35:12 -04:00
Adam Lugowski
37127b022f Add subnormal numbers to powers of ten table
On some platforms std::pow returns 0 instead of a subnormal number with `-ffast-math -O2` compiler options.
2023-03-30 13:14:35 -07:00
Maya Warrier
20f3870361 Fixes 2023-03-30 04:58:22 -04:00
Maya Warrier
2b118c843a Experimental support for char_t types 2023-03-30 04:48:18 -04:00
Maya Warrier
a699476fd2 ignore VS CMakeSettings file 2023-03-30 04:47:42 -04:00
Maya Warrier
b6acf38a2e Fix bugs 2023-03-29 18:42:24 -04:00
Adam Lugowski
bfee511d78 Set errc::result_out_of_range on over/underflow
Best-effort values are still returned, such as 0 for underflow and infinity for overflow, but now the returned ec is set to std::errc::result_out_of_range instead of std::errc().
2023-03-29 10:14:46 -07:00
Maya Warrier
3cafcca2ff Add support for json parsing rules and integers 2023-03-29 02:14:12 -04:00
Maya Warrier
8f94758c78 Expose parsed string (before computation) so it can be reused 2023-03-27 22:50:21 -04:00
Maya Warrier
7385c2053b Update .gitignore 2023-03-27 22:17:02 -04:00
Daniel Lemire
fde0116d4d New version. 2023-03-27 13:53:18 -04:00
Daniel Lemire
0cdf016847
Merge pull request #188 from fastfloat/dlemire/compile_time
Compile-time evaluation
v3.11.0
2023-03-27 13:51:27 -04:00
Daniel Lemire
d7ba016c73 Fix. 2023-03-27 13:46:51 -04:00
Daniel Lemire
0394ea1fed Compile-time evaluation 2023-03-27 13:36:46 -04:00
Daniel Lemire
3ada7ca4d9
Merge pull request #187 from fastfloat/dlemire/enable_tests_automatically
If we detect that the compiler supports FASTFLOAT_IS_CONSTEXPR, then let us run the tests automatically.
2023-03-27 13:09:56 -04:00
Daniel Lemire
a662df817f If we detect that the compiler supports FASTFLOAT_IS_CONSTEXPR, then let us run the tests automatically. 2023-03-26 20:43:33 -04:00
Daniel Lemire
ab6c987ebc
Merge pull request #185 from fastfloat/dlemire/adding_more_cxx20_in_ci
Adding more CXX20 testing in CI.
2023-03-26 20:32:23 -04:00
Daniel Lemire
c8bba6ab29 Fix CI issue 2023-03-26 07:22:07 -04:00