Jonas Rahlf
4e13ec151b
check for HAS_CXX20_CONSTEXPR before attempting to do c++20 stuff
2021-09-02 23:20:28 +02:00
Jonas Rahlf
d8ee88e7f6
initial version with working constexpr for c++20 compliant compilers
2021-09-01 00:52:25 +02:00
Daniel Lemire
f70b645436
Candidate release.
2021-08-03 09:22:40 -04:00
Antoine Pitrou
3881ea6937
Issue #90 : accept custom decimal point
2021-08-03 10:44:24 +02: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
1457b5f15a
Workaround for doctest.
2021-06-07 09:38:15 -04:00
Daniel Lemire
6921c8f264
Upgrading doctest.
2021-06-07 09:32:39 -04:00
Daniel Lemire
862082c468
Adding permissive- flag to VS builds.
2021-06-01 09:35:25 -04:00
Daniel Lemire
d0a84312fc
Trimming.
2021-05-31 18:26:23 -04:00
Daniel Lemire
0571c35e9c
Adding installation instructions.
2021-05-18 09:11:05 -04:00
Daniel Lemire
c38790bc4d
Checking issue 72
2021-05-18 08:59:20 -04:00
Daniel Lemire
35db0be700
Adding test corresponding to https://github.com/wrandelshofer/FastDoubleParser/issues/7
2021-03-23 09:17:33 -04:00
Eugene Golushkov
87e5a95585
Prevent fast_float::from_chars from parsing whitespaces and leading '+' sign, similar to MSVC and integer LLVM std::from_chars behavior. See C++17 20.19.3.(7.1) and http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2016/p0067r5.html
2021-03-04 20:21:45 +02:00
Daniel Lemire
61f09fb0be
Fixing syntax.
2021-03-01 13:49:52 -05:00
Daniel Lemire
e16353a057
Testing installation.
2021-03-01 13:36:09 -05:00
Daniel Lemire
36afa46f1e
Trying again.
2021-01-27 21:01:47 -05:00
Daniel Lemire
00591a8652
Sane systems should have filesystem
2021-01-27 20:24:56 -05:00
Daniel Lemire
10a58cd69f
Running new tests only on sane platforms.
2021-01-27 20:11:55 -05:00
Daniel Lemire
cb26cedb1c
Explicit conversion to string.
2021-01-27 20:01:45 -05:00
Daniel Lemire
541e5feef1
Adding supplemental tests.
2021-01-27 19:57:00 -05:00
Daniel Lemire
d59ec8f1f1
Adding another test.
2021-01-11 12:22:43 -05:00
Daniel Lemire
c5adf9e4a5
Fix truncate flag.
2021-01-11 11:22:00 -05:00
Daniel Lemire
f7c84156d5
Adding further tests.
2021-01-11 09:27:57 -05:00
Daniel Lemire
a1a7347464
Minor tweaks to better handle cygwin/clang.
2020-12-22 15:55:48 -05:00
Joao Paulo Magalhaes
663fd91d8f
fix: include of iostream is now required on client code
2020-11-24 00:40:28 +00: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
abd3c2f81e
powers of ten test: do not fail when pow() is broken - merely warn
2020-11-20 10:02:33 +00:00
Daniel Lemire
ad22e20e4c
Completing.
2020-11-19 21:37:10 -05: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
bfa33b3ed1
fix mingw compile errors
2020-11-20 00:48:21 +00:00
Joao Paulo Magalhaes
8a04a06a88
leading_zeroes(): 0 is not a valid input
2020-11-20 00:48:20 +00:00
Joao Paulo Magalhaes
216d191384
basictest: do not print double 0x
2020-11-20 00:48:20 +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
Joao Paulo Magalhaes
7da4b05645
add unit test for full multiplication
2020-11-20 00:48:19 +00:00
Joao Paulo Magalhaes
c4693cc86f
re #33 : win32 is working
2020-11-20 00:48:19 +00:00
Joao Paulo Magalhaes
829ac72f87
re #33 : 32bit version. gcc compiles successfully, fails tests.
2020-11-20 00:48:19 +00:00
Daniel Lemire
1afba556e3
Extending the fast path.
2020-11-17 21:55:01 -05:00
Daniel Lemire
1b775cd9a7
Minor code cleaning.
2020-11-11 22:50:21 -05:00
Daniel Lemire
4e31533791
Added an extra test (which passes).
2020-11-11 22:21:49 -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
e3fd438c64
Tweaking.
2020-11-07 16:27:53 -05:00
Daniel Lemire
693fa66fa4
More testing.
2020-11-06 17:28:55 -05:00
Daniel Lemire
741e68ce61
Fixes https://github.com/lemire/fast_float/issues/19
2020-11-05 16:32:19 -05:00
Daniel Lemire
2e1d8ba899
More elaborate.
2020-11-02 21:20:06 -05:00
Daniel Lemire
c0b5ffe54c
Making errors verbose.
2020-11-02 20:22:08 -05:00
Daniel Lemire
078095d1e3
Patching.
2020-11-02 20:17:11 -05:00
Daniel Lemire
8df999e44e
One more range of tests.
2020-11-02 15:01:15 -05:00
Daniel Lemire
022118e5d0
Minor logical fix.
2020-10-30 14:56:15 -04:00
Daniel Lemire
f7d3cdc426
Minor fix.
2020-10-29 16:40:20 -04:00
Daniel Lemire
8559cfa73f
Some optimization.
2020-10-27 21:11:19 -04:00
Daniel Lemire
4b284fbe19
Merge pull request #12 from lemire/dlemire/issue8
...
Fixing issue 8
2020-10-27 15:44:13 -04:00
Daniel Lemire
3eb956c757
Merge pull request #11 from lemire/dlemire/adding_a_test
...
adding a test/fixing readme
2020-10-27 15:43:32 -04:00
Daniel Lemire
fa1242c97e
Fixing issue 8
2020-10-27 15:41:31 -04:00
Daniel Lemire
88705b6ede
Updating the README example.
2020-10-27 14:42:36 -04:00
Daniel Lemire
5970251026
Yet another test.
2020-10-23 20:15:02 -04:00
Daniel Lemire
863b382b3d
Merge pull request #6 from lemire/dlemire/adding_a_test
...
New test.
2020-10-23 12:17:43 -04:00
Daniel Lemire
4c8bc0e5e7
Silly me.
2020-10-23 11:22:59 -04:00
Daniel Lemire
cce20ce1d2
New test.
2020-10-23 11:00:38 -04:00
Daniel Lemire
f6e1d938a8
Another tweak.
2020-10-21 18:04:08 -04:00
Daniel Lemire
903c1f1c31
Another tweak.
2020-10-21 17:10:06 -04:00
Daniel Lemire
609c48c2a2
Another tweak.
2020-10-21 16:56:44 -04:00
Daniel Lemire
38fbe0c8e6
Tuning.
2020-10-19 14:41:10 -04:00
Daniel Lemire
1701be0224
First commit
2020-10-19 12:38:13 -04:00