Commit Graph

395 Commits

Author SHA1 Message Date
Matt Borland
13ad334aa4 Bulk macro replacement 2023-05-30 15:45:22 +02:00
Matt Borland
c97738c84c Use UINT64_C instead of static_cast<uint64_t> 2023-05-30 14:29:38 +02:00
Matt Borland
ec95ed7792 Suppress warnings for GCC 4.x and MSVC 14.0 2023-05-30 14:16:03 +02:00
Matt Borland
825288ae2d Re-baseline to fast_float 2023-05-30 14:02:29 +02:00
Matt Borland
8b36fc96c1 Pedantic changes 2023-05-30 12:44:26 +02:00
Matt Borland
4d9613c74b Disable warning for parameter marked as unused 2023-05-30 12:19:09 +02:00
Matt Borland
44d6cb751c Disable some constexpr calculations with MSVC 2023-05-30 10:57:26 +02:00
Matt Borland
1070362ee9 Use constexpr leading zero count 2023-05-30 10:20:35 +02:00
Matt Borland
1a575180bf Default initialize variable in constexpr function 2023-05-30 10:13:45 +02:00
Matt Borland
079a74d462 Define _SCL_SECURE_NO_WARNINGS 2023-05-30 09:29:45 +02:00
Matt Borland
42555ab3fc Fix various MSVC warnings 2023-05-26 17:53:26 +02:00
Matt Borland
4ea52a08dd Fix conversion warnings 2023-05-26 17:43:06 +02:00
Matt Borland
acdd3e3c4a Fix unused parameter warnings 2023-05-26 17:30:25 +02:00
Matt Borland
e864e9e0fd Change handling of hex strings 2023-05-26 17:20:06 +02:00
Matt Borland
2ac4291559 Add macro for BOOST_CXX14_CONSTEXPR without inline expansion in C++11 2023-05-26 17:01:45 +02:00
Matt Borland
7aa06abadb Fix chars_format operators for GCC 2023-05-26 16:42:10 +02:00
Matt Borland
dbfb3c1238 Port parse_number
[ci skip]
2023-05-26 16:34:41 +02:00
Matt Borland
0392349405 Port fast_float 2023-05-26 16:34:24 +02:00
Matt Borland
679c9274ef Port digit_comparison 2023-05-26 15:41:18 +02:00
Matt Borland
6fbb08eaa3 Port decimal_to_binary 2023-05-26 14:42:58 +02:00
Matt Borland
1d00a2e00f Port fast_table 2023-05-26 14:42:49 +02:00
Matt Borland
d65119663f Port bigint 2023-05-26 14:23:20 +02:00
Matt Borland
ebfe63f5f5 Port ascii_number 2023-05-26 11:16:45 +02:00
Matt Borland
61b0cdf8ba Add binary operands to chars_format 2023-05-26 11:10:30 +02:00
Matt Borland
3daf7bc899 Port float common 2023-05-26 10:47:23 +02:00
Matt Borland
9bac3465ee Port config information 2023-05-26 09:26:56 +02:00
Peter Dimov
166d6725ed Merge branch 'feature/opt-from-integral' into develop 2023-05-25 18:43:31 +03:00
Peter Dimov
dc5701a57d Fix sign extension issue when char is signed 2023-05-25 18:21:15 +03:00
Peter Dimov
f3578abad9 Skip overflow checks in the first digits10 characters 2023-05-25 18:17:10 +03:00
Matt Borland
6c0e5fd6fa Use r.ptr instead of last in fallback routine 2023-05-25 14:39:08 +02:00
Matt Borland
5566f436a6 Move floating point from chars detail into implementation header 2023-05-25 09:37:54 +02:00
Matt Borland
4ba827c182 Fix merge conflict 2023-05-24 16:29:50 +02:00
Matt Borland
7b30cdde8f Fix min exponent for double to allow for sub-normal values 2023-05-24 14:28:30 +02:00
Matt Borland
0a5e2e3590 Reduce number of branches 2023-05-24 13:40:34 +02:00
Matt Borland
828774b097 Add support for delimiters to parser 2023-05-24 11:37:56 +02:00
Matt Borland
413afe3440 Add character validation function to parser 2023-05-24 10:14:39 +02:00
Matt Borland
cecf39658a Remove unneeded check from updated lemire 2023-05-23 15:32:20 +02:00
Matt Borland
8c695535ca Remove static buffer default initialization 2023-05-22 15:35:18 +02:00
Matt Borland
044242dbce Add fallback routine with dynamic memory allocation 2023-05-22 11:17:39 +02:00
Matt Borland
dbfb6804c2 Add special handling with exp = -1 to avoid unnecessary fallback 2023-05-22 11:17:39 +02:00
Matt Borland
19e8ea55fb Use temporary buffer in fallback routine to avoid over-running last 2023-05-22 11:17:39 +02:00
Matt Borland
554d7a0c3e Ignore GCC 9, 10, and 12 -Wmaybe-uninitialized 2023-05-18 12:43:11 +02:00
Matt Borland
94830e29de Update docs 2023-05-18 10:56:14 +02:00
Matt Borland
f9b0b76499 Add function to convert errno to std::errc 2023-05-18 10:21:09 +02:00
Matt Borland
f027ead7a0 Convert to_chars to use std::errc instead of errno 2023-05-18 10:20:50 +02:00
Matt Borland
3d211434b4 Convert from_chars to use std::errc instead of errno 2023-05-18 10:20:44 +02:00
Matt Borland
686c515c0c Add long double subnormal range for conversion to +/- 0 2023-05-17 10:35:18 +02:00
Matt Borland
72a62c91d5 Fix handling for floats 2023-05-17 08:59:50 +02:00
Matt Borland
3a00fa7f30 Add handling for doubles 2023-05-17 08:44:24 +02:00
Matt Borland
f0d0388898 Add handling for 64-bit long doubles 2023-05-16 11:00:44 +02:00