94 Commits

Author SHA1 Message Date
Antoine Pitrou
3881ea6937 Issue #90: accept custom decimal point 2021-08-03 10:44:24 +02:00
Daniel Lemire
94c78adb2e Typo 2021-06-07 10:34:44 -04:00
Daniel Lemire
93a2c79cf2 Adding m_arm detection. 2021-06-07 10:27:52 -04:00
Daniel Lemire
f54b41c09e Tweak for 32-bit Windows 2021-06-07 09:14:09 -04:00
Daniel Lemire
06e61729c9 making constexpr as inline. 2021-06-01 09:46:43 -04:00
Alex Huszagh
b712b6f9a5 Add support for other architectures. 2021-05-24 11:37:38 -05:00
Alex Huszagh
49ca5d855e Added 8-digit optimizations to big endian. 2021-05-23 21:47:40 -05:00
Daniel Lemire
19a771c615 Using out-of-line definition. 2021-04-08 10:46:43 -04:00
Daniel Lemire
2cbfc21f8a Avoiding internal name conflict. 2021-04-07 13:39:07 -04:00
Daniel Lemire
a8d49f40f0 This uses the template trick to ensure we get only one definition 2021-04-07 13:34:53 -04:00
Marcin Wojdyr
f21b2f24cb change anonymous namespace to namespace detail (#54) 2021-04-07 15:17:37 +02: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
Tim Paine
48d30f789b add support for missing flag on emscripten 2021-03-01 22:43:57 -05:00
Eugene Golushkov
76dec80fbd Parse "nan(n-char-seq-opt)" as required by C++17 20.19.3.7 and C11 7.20.1.3.3. At least MSVC produces nan(ind) and nan(snan), and according to https://reviews.llvm.org/D70631 MSVC implementation seems to became LLVM std::to_chars(). 2021-03-01 20:21:33 +02:00
Daniel Lemire
9d76b043c5 Minor typo. 2021-02-26 11:21:20 -05:00
Neal Richardson
ca0a4646e9
Locate endian header on Solaris 2021-02-17 13:46:04 -08:00
Daniel Lemire
716c87067e Simplifying fix. 2021-01-11 11:24:54 -05:00
Daniel Lemire
c5adf9e4a5 Fix truncate flag. 2021-01-11 11:22:00 -05:00
Daniel Lemire
cf1a4ec2f5 Further tweaking. 2021-01-08 10:09:26 -05:00
Daniel Lemire
192b271c12 Removing dead code 2021-01-07 18:03:33 -05:00
Daniel Lemire
cad8cfdf57 Removing dead code. 2021-01-07 18:01:57 -05:00
Daniel Lemire
a27fcc230d This should be mostly correct. 2021-01-07 17:46:47 -05:00
Daniel Lemire
ca51b646c8
Update float_common.h 2021-01-07 16:44:39 -05:00
Daniel Lemire
002966323c
Update float_common.h 2021-01-07 16:44:07 -05:00
Daniel Lemire
51b27a3324 Trying alternate handling of overflows. 2020-12-31 11:14:48 -05:00
Daniel Lemire
47ffc1303b Removing spurious 's'. 2020-12-29 15:29:46 -05:00
Daniel Lemire
a7d15fd6d0 Fixes https://github.com/fastfloat/fast_float/issues/47 2020-12-29 13:22:37 -05:00
Daniel Lemire
a1a7347464 Minor tweaks to better handle cygwin/clang. 2020-12-22 15:55:48 -05:00
Joao Paulo Magalhaes
e65f977135 fix: never include iostream unless it's absolutely necessary 2020-11-24 00:24:17 +00: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
4583e75e3e Merge branch 'main' into dlemire/extended_fast_path 2020-11-22 13:10:07 -05:00
Joao Paulo Magalhaes
037136a966 fix: add bitness for ppc64le 2020-11-21 19:01:26 +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
9afc814fb6 tidy float_common.h: put feature test macros at the top 2020-11-20 09:44:27 +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
449c628645 __emulu() is needed for mingw32 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
1b5e3f3945 patching be support. (typo) 2020-11-16 12:56:57 -05:00
Daniel Lemire
7ff364b59a This might add support for big endian systems (untested). 2020-11-16 12:04:57 -05:00
Daniel Lemire
8a0a0c4fc1 Being pedantic. 2020-11-15 14:51:54 -05:00