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
81b8306c5f
implementation of https://www.open-std.org/jtc1/sc22/wg21/docs/papers/2023/p2497r0.html
2025-05-19 18:08:36 -04: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
3e26cf4cea
add failing test for wide chars
2024-11-21 00:08:55 +01:00
Pranav Sivaraman
a7ed4e89c7
doctest: if SYSTEM_DOCTEST add a find_package(doctest REQUIRED)
2024-09-08 12:34:44 -04:00
Daniel Lemire
797e3e0bc2
more fixes
2024-01-28 16:01:46 -05:00
Daniel Lemire
4dcbd30d3f
More robust tests for C++23
2024-01-28 15:00: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
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
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
MTahaK
96c0059fe9
Revised implementation of float32_t and float64_t support as template specializations, added test
2023-12-13 00:33:16 -05:00
MTahaK
ae99db48e6
Updated CMakeLists with new option for C++23 fixed width tests, added new basic fixedwidthtest file.
2023-12-12 19:19:06 -05:00
MTahaK
f330ec1e9d
Reverted CMakeLists changes, modifed workflow for g++13 & C++23.
2023-12-12 18:59:59 -05:00
MTahaK
b0f4535781
Update test/CMakeLists.txt to use C++23 for fixed-width float types
2023-12-12 18:11:09 -05:00
Marvin
20c9375c5e
Added new test cases for out of range errors that cover 8,16,32,64 bits, out of range errors for all bases (64 bit only), and fixed some test cases
2023-12-12 13:59:18 -05:00
Daniel Lemire
7646f819a8
Merge branch 'main' of github.com:allenbarnett5/fast_float_ftn into fortran
2023-09-15 09:43:27 -04:00
Maya Warrier
4de8d715e6
Add json fmt test
2023-09-13 21:07:40 -04:00
allen.barnett@paperbirchsoftware.com
e22c027544
Allow fast_float to parse strings accepted by the Fortran internal read
...
function.
2023-08-07 08:39:06 -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
Lenard Szolnoki
6732e397d8
Add constexpr testing
...
When enabled, modify `verify` macro to also verify at compile time,
when the arguments are constant expressions.
2023-03-04 22:36:58 +00:00
Daniel Lemire
06333da7fe
Merge branch 'main' into dlemire/adding_bloat_analysis
2023-02-28 17:10:05 -05:00
Daniel Lemire
7f1c4a2f7f
This adds bloat analysis to the tests.
2023-02-28 16:42:48 -05:00
Daniel Lemire
3e2da540ef
Support rccpfastfloat.
2023-01-19 20:28:10 -05:00
Joao Paulo Magalhaes
0ba57912ff
Enable tests with cross compilation
2022-12-27 11:09:17 +00:00
Daniel Lemire
eec504ae03
Adding a fast-math test.
2022-11-21 09:53:49 -05:00
Daniel Lemire
e958ff4269
Simplified clinger.
2022-11-03 18:51:37 -04:00
Kent Ross
6ec3ace497
Fix long_test and add it to the non-exhaustive test suite
2021-09-14 22:22:52 -07:00
Kent Ross
3219e3ce4c
Move fast tests to the non-exhaustive test set
2021-09-14 22:22:52 -07:00
Daniel Lemire
f70b645436
Candidate release.
2021-08-03 09:22:40 -04:00
Benjamin A. Beasley
fe8e477e14
Add a SYSTEM_DOCTEST CMake option
...
This option is off by default, maintaining the previous behavior. When
enabled (along with FASTFLOAT_TEST), it bypasses the FetchContent
machinery for doctest so that a system-wide installation of the doctest
header can be easily used. In this case, the header doctest/doctest.h
should be available on the compiler’s include path.
This option is especially useful for Linux distributions and others that
need to run the tests in fully offline build environments.
Fixes #83 .
2021-06-21 11:24:46 -04:00
Daniel Lemire
2504268bbf
Being more narrow.
2021-06-07 09:59:44 -04:00
Daniel Lemire
a721b344b4
Trying.
2021-06-07 09:43:36 -04:00
Daniel Lemire
6921c8f264
Upgrading doctest.
2021-06-07 09:32:39 -04:00
Daniel Lemire
c38790bc4d
Checking issue 72
2021-05-18 08:59:20 -04:00
Daniel Lemire
36afa46f1e
Trying again.
2021-01-27 21:01:47 -05:00
Daniel Lemire
541e5feef1
Adding supplemental tests.
2021-01-27 19:57:00 -05:00
Daniel Lemire
4583e75e3e
Merge branch 'main' into dlemire/extended_fast_path
2020-11-22 13:10:07 -05:00
Joao Paulo Magalhaes
8ba7d2e850
travis vs FetchContent_MakeAvailable(): give up on a recent cmake
...
... Avoid using the modern cmake function, and go back to an earlier
approach. The ppc64le travis images was not dealing well with the
attempt to hoist a modern cmake into it:
https://travis-ci.com/github/lemire/fast_float/jobs/444278392
2020-11-21 18:48:36 +00:00
Joao Paulo Magalhaes
33b64cf0d3
fix: FetchContent_MakeAvailable() was introduced only in cmake 3.14
2020-11-20 01:11:19 +00:00
Joao Paulo Magalhaes
1e79580065
basictest: move to doctest
...
benefits:
* shows all failures instead of throwing
* every failure shows detailed information
* more concise (~400 lines -> ~300 lines)
2020-11-20 00:48:20 +00:00
Daniel Lemire
1afba556e3
Extending the fast path.
2020-11-17 21:55:01 -05:00
Daniel Lemire
1e92d59997
Sign conversion pedantry.
2020-11-11 20:43:36 -05:00
Daniel Lemire
9c5dac3705
Build with pedantic flags under GNU GCC.
2020-11-11 20:17:18 -05:00
Daniel Lemire
8df999e44e
One more range of tests.
2020-11-02 15:01:15 -05:00