893 Commits

Author SHA1 Message Date
Daniel Lemire
010ccb6250
Update README.md 2020-11-24 09:33:20 -05:00
Daniel Lemire
5240a92428
Update README.md 2020-11-24 09:17:48 -05:00
Daniel Lemire
f51af514d1
Merge pull request #41 from biojppm/fix/bloated_binary
remove 1.1MB (85%) of binary size by not including iostream
v0.3.0
2020-11-24 09:13:14 -05:00
Joao Paulo Magalhaes
663fd91d8f fix: include of iostream is now required on client code 2020-11-24 00:40:28 +00:00
Joao Paulo Magalhaes
e65f977135 fix: never include iostream unless it's absolutely necessary 2020-11-24 00:24:17 +00:00
Daniel Lemire
caade69916
Merge pull request #28 from lemire/dlemire/aqrit_magic
Magical optimizations from @aqrit
2020-11-23 18:23:28 -05:00
Daniel Lemire
e78525d3e2
Update README.md 2020-11-23 15:09:30 -05:00
Daniel Lemire
7ef9d9b7d2 Tweaking cast. 2020-11-23 15:04:48 -05:00
Daniel Lemire
86bc73af9e Need explicit cast. 2020-11-23 13:53:50 -05:00
Daniel Lemire
426dd2a4a6 Merge branch 'main' into dlemire/aqrit_magic 2020-11-23 13:48:06 -05:00
Daniel Lemire
3dab88a245
Merge pull request #39 from lemire/dlemire/extended_fast_path
Extending the fast path.
2020-11-23 13:44:20 -05:00
Daniel Lemire
4583e75e3e Merge branch 'main' into dlemire/extended_fast_path 2020-11-22 13:10:07 -05:00
Daniel Lemire
70c9b7f884
Merge pull request #36 from biojppm/impl/32bit
add 32bit version
2020-11-22 13:07:33 -05:00
Joao Paulo Magalhaes
037136a966 fix: add bitness for ppc64le 2020-11-21 19:01:26 +00: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
ed6664d93e add bitness for s390 2020-11-21 09:08:11 +01:00
Daniel Lemire
7bf5db7216 Tuning. 2020-11-20 17:05:06 -05:00
Daniel Lemire
8fde4bad4e Adding a guard. 2020-11-20 16:09:53 -05:00
Joao Paulo Magalhaes
df6e785d5c travis: use a recent cmake 2020-11-20 12:06:55 +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
Joao Paulo Magalhaes
9afc814fb6 tidy float_common.h: put feature test macros at the top 2020-11-20 09:44:27 +00:00
Joao Paulo Magalhaes
d617b97c7c update authors 2020-11-20 09:43:27 +00:00
Daniel Lemire
1283ea199b Forgot this. 2020-11-19 21:45:55 -05:00
Daniel Lemire
dad8c84c38 Upgrading. 2020-11-19 21:41:23 -05: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
f7b13da349 fix: readjust full_multiplication() and leading_zeroes() on windows 2020-11-20 00:48:20 +00:00
Joao Paulo Magalhaes
5ce64de524 fix: full 64bit multiplication working on 32bit gcc/clang 2020-11-20 00:48:20 +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
2bc8dcc734 fix: jwlawson/actions-setup-cmake uses deprecated github commands
see https://github.com/lemire/fast_float/pull/36/checks?check_run_id=1409838155#step:3:13
2020-11-20 00:48:20 +00:00
Joao Paulo Magalhaes
3566d303f4 cmake: fetch content requires v3.11+ 2020-11-20 00:48:20 +00:00
Joao Paulo Magalhaes
aca3ca7828 fix CI files: ubuntu required a more recent cmake, vs had a typo 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
27345da2e2 ubuntu20 CI: fix typo 2020-11-20 00:48:20 +00:00
Joao Paulo Magalhaes
11a1c143a3 windows CI: fix call to cmake --build 2020-11-20 00:48:19 +00:00
Joao Paulo Magalhaes
449c628645 __emulu() is needed for mingw32 2020-11-20 00:48:19 +00:00
Joao Paulo Magalhaes
83a29d4eab windows CI: cmake 3.9 is too old 2020-11-20 00:48:19 +00:00
Joao Paulo Magalhaes
7da4b05645 add unit test for full multiplication 2020-11-20 00:48:19 +00:00
Joao Paulo Magalhaes
bb03cb615c make sure CI runs Win32 compilations 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
d521ddf7f7 Let us adjust the powers instead. 2020-11-19 18:15:42 -05:00
Daniel Lemire
1afba556e3 Extending the fast path. 2020-11-17 21:55:01 -05:00
Daniel Lemire
3957642499
Merge pull request #38 from lemire/dlemire/issue37
Adding support for big endian systems
v0.2.0
2020-11-16 13:42:54 -05:00
Daniel Lemire
1b5e3f3945 patching be support. (typo) 2020-11-16 12:56:57 -05:00
Daniel Lemire
7ebbb9d5be Going old school. 2020-11-16 12:40:05 -05:00
Daniel Lemire
59d5313432 Trimming. 2020-11-16 12:36:15 -05:00
Daniel Lemire
1d9116b4f2 Adding travis. 2020-11-16 12:17:20 -05:00