204 Commits

Author SHA1 Message Date
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