818 Commits

Author SHA1 Message Date
Matthew Wozniczka
9ab4ac837b
Add a missing check that __uint128_t exists before using it.
I noticed a compilation error when building a 64-bit binary with this library while using xlclang on AIX, and this change seems to fix it.
2024-03-16 12:18:20 -07:00
Daniel Lemire
bafd9d9c5f adding release script. 2024-03-08 18:15:20 -05:00
Daniel Lemire
9befad4626 adding release script 2024-03-08 18:10:15 -05:00
Daniel Lemire
2f3ed44e06
Merge pull request #241 from carlosal1015/fix/version-numbering
Use version 6.1.0 instead 6.0.0
v6.1.0
2024-03-08 11:28:25 -05:00
Carlos Aznarán
131b1f9768
Use version 6.1.0 instead 6.0.0 2024-03-08 08:46:50 -05:00
Daniel Lemire
ff7cb44263
Create SECURITY.md 2024-02-09 17:18:36 -05:00
Daniel Lemire
4b035185e7
Merge pull request #239 from wojdyr/main
check C++ standard version before including <stdfloat>
2024-02-03 11:30:06 -05:00
Marcin Wojdyr
55a5b3c8e1 check C++ standard version before including <stdfloat>
fixes #238
2024-02-03 15:05:30 +01:00
Daniel Lemire
8378916ed8
Merge pull request #237 from fastfloat/release610_candidate
preparing version 6.1.0
2024-01-28 16:17:51 -05:00
Daniel Lemire
797e3e0bc2 more fixes 2024-01-28 16:01:46 -05:00
Daniel Lemire
12ece3c84f removing leftover print 2024-01-28 15:20:41 -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
eb584f748e explicit cast 2024-01-28 13:29:55 -05:00
Daniel Lemire
9da74ca5fb minor fixes 2024-01-28 12:49:00 -05:00
Daniel Lemire
3ab68b69d1 preparing version 6.1.0 2024-01-28 11:51:28 -05:00
Daniel Lemire
fade2357ba fix missing typename 2024-01-28 11:46:27 -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
9be7de5998 adding sanitized tests 2024-01-28 10:56:20 -05:00
Daniel Lemire
5334e2ba94 fix 2024-01-28 10:55:02 -05:00
Daniel Lemire
1d97749791 Verify and fix issue 235 2024-01-28 10:47:21 -05:00
Daniel Lemire
620376ad39
Merge branch 'main' into main 2024-01-28 10:09:56 -05:00
Daniel Lemire
f320619216
Merge pull request #227 from fastfloat/extra_test
adding a single test
2024-01-28 10:08:49 -05:00
Daniel Lemire
7cbbcee6ed
Merge pull request #233 from StefanBruens/optional_supplemental_tests
Make tests depending on supplemental_test_files optional
2024-01-28 10:08:33 -05:00
Daniel Lemire
68b9475585
Merge pull request #234 from beached/patch-1
Update float_common.h
2023-12-28 08:16:38 -05:00
Darrell Wright
b43f808190
Update float_common.h
The construct !! is a no-op for a bool, op< for uint64_t's.  Removed it and made it an explicit cast to match the operations being performed
2023-12-27 19:43:56 -05:00
Daniel Lemire
b90ba259ef
Update README.md 2023-12-26 16:10:05 -05:00
Daniel Lemire
5c2a4a026a
Update README.md 2023-12-26 16:09:07 -05:00
StefanBruens
7f46adc19c Make tests depending on supplemental_test_files optional
As the supplemental_test_files are quite large, it is useful to make
running the tests depending on it optional.

By default, the tests are kept enabled, but can be switched of by setting
`FASTFLOAT_SUPPLEMENTAL_TEST=OFF`.

Fixes: #232
2023-12-26 02:23:30 +01:00
Daniel Lemire
f3ff46fd40 version bump v6.0.0 2023-12-14 17:56:17 -05:00
Daniel Lemire
e59e8f547a adding space 2023-12-14 17:54:39 -05:00
Daniel Lemire
8b849ebab0 Documentation regarding the integer types 2023-12-14 17:53:30 -05:00
Daniel Lemire
ede1d6b69e
Merge pull request #231 from mayawarrier/main
from_chars integer parser
2023-12-14 17:34:56 -05:00
Maya Warrier
882a716c12
Explicit curly bracket where suggested
Co-authored-by: Daniel Lemire <daniel@lemire.me>
2023-12-14 16:28:23 -05:00
Maya Warrier
a59a62cb5c
Merge branch 'fastfloat:main' into main 2023-12-13 17:54:05 -05:00
Maya Warrier
bdee16bcad - Add SIMD acceleration to fast_int
- fix MSVC warning
2023-12-13 17:42:30 -05:00
TheRandomGuy146275
26a5b2eb16 Added test case for ignoring leading zeros for all bases
- added: fix incorrect base for leading zeros test

---------

Co-authored-by: Marvin <marvin.wu@mail.utoronto.ca>
Co-authored-by: Maya Warrier <34803055+mayawarrier@users.noreply.github.com>
2023-12-13 17:22:51 -05:00
Maya Warrier
36aaded3dd Fix handling of leading zeros 2023-12-13 17:11:41 -05:00
Daniel Lemire
506b01a236
Merge pull request #230 from mayawarrier/fix-arm-neon-macro
Fix for ARM SIMD
2023-12-13 10:43:18 -05:00
Maya Warrier
1e0a9da538 Change FASTLOAT_ARM64 macro to FASTFLOAT_NEON 2023-12-13 00:56:35 -05:00
MTahaK
9c8891eed1 Update contributors 2023-12-13 00:41:28 -05:00
MTahaK
96c0059fe9 Revised implementation of float32_t and float64_t support as template specializations, added test 2023-12-13 00:33:16 -05:00
Maya Warrier
30b3165520 Fix fast_int test Werrors 2023-12-12 22:45:14 -05:00
Maya Warrier
a30fe866f6 Fix bugs highlighted in tests 2023-12-12 22:35:58 -05:00
Maya Warrier
01e8c50a33 Fix bugs in tests/fast_int.cpp 2023-12-12 22:35:34 -05:00
Maya Warrier
5fcc62a6f5 Merge contributed tests 2023-12-12 22:03:33 -05:00
Maya Warrier
624ba49434 Fix more Werrors
- Werror=conversion,char-subscripts
2023-12-12 21:26:48 -05:00
Marvin
ebc15bec51 Added test case for numbers within range after converted from base 2023-12-12 20:20:05 -05:00