Commit Graph

41 Commits

Author SHA1 Message Date
Matt Borland
4a53e7b962 Add 16-bit overloads 2023-06-05 17:16:48 +02:00
Matt Borland
bf691d2a83 Add overloads for std::float32_t and std::float64_t 2023-06-05 16:28:00 +02:00
Matt Borland
e436cb42e2 Change order of includes for MSVC deprecation warnings 2023-05-30 14:54:23 +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
079a74d462 Define _SCL_SECURE_NO_WARNINGS 2023-05-30 09:29:45 +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
692a2b9c01 Fix failures on platforms with long double > 64 bits 2023-05-18 11:20:49 +02:00
Matt Borland
f9b0b76499 Add function to convert errno to std::errc 2023-05-18 10:21:09 +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
f0d0388898 Add handling for 64-bit long doubles 2023-05-16 11:00:44 +02:00
Matt Borland
60c16b7767 Fix 64-bit and MSVC long double handling 2023-05-15 12:38:57 +02:00
Matt Borland
d3fdefff4b Suppress conversion warnings for C++11 and 14 2023-05-04 09:46:39 +02:00
Matt Borland
d96646ec92 Refactor to reduce code duplication 2023-05-04 08:31:27 +02:00
Matt Borland
73ea28328f Fix case of number to 0th power 2023-05-03 17:19:23 +02:00
Matt Borland
5ad82255b3 Activate only 64-bit long double impls 2023-03-01 11:08:37 -08:00
Matt Borland
a33df00ebe Revert from_chars long double impl 2023-03-01 10:38:29 -08:00
Matt Borland
1ed6b6749f Add 64 and 80 bit long double impls
[ci skip]
2023-02-28 12:20:20 -08:00
Matt Borland
6b4bc78fa6 Fix compute_float32 for edge cases 2023-02-28 10:36:23 -08:00
Matt Borland
5fc998665e Remove duplicate overflow check from the parser 2023-02-28 09:12:23 -08:00
Matt Borland
7e011784a7 Replace float and double stub impls with real ones
[ci skip]
2023-02-27 11:44:04 -08:00
Peter Dimov
bb1bca8a5c Disable -Wmissing-field-initializers under GCC 4.x 2023-02-17 19:58:34 +02:00
Peter Dimov
8a29575a8d Add stub implementations for long double 2023-02-09 18:40:47 +02:00
Peter Dimov
da25d61248 Activate float/double tests in roundtrip.cpp; add stub implementations of from_chars and to_chars to make them pass 2023-02-08 21:21:28 +02:00
Matt Borland
1a2a1ad66a Make integer from_chars constexpr 2023-01-12 11:36:53 -08:00
Matt Borland
b5baf88e35 Add overload for signed char
http://eel.is/c++draft/basic#fundamental
2023-01-12 10:18:52 -08:00
Matt Borland
47689f9ebb Fixes and testing for hexadecimal 2023-01-12 10:02:23 -08:00
Matt Borland
99d45ca941 Add test for invalid arguments 2023-01-11 13:30:18 -08:00
Matt Borland
672bd3b872 Refactor detail namespace 2023-01-11 11:26:30 -08:00
Matt Borland
cad83d2ae8 Fix -Woverflow on old GCC
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80745
2023-01-11 11:04:00 -08:00
Matt Borland
2fc5c89899 Fixes for MSVC warnings 2023-01-11 08:45:02 -08:00
Matt Borland
462cf533c2 Add unused attribute in case of early return 2023-01-11 07:52:04 -08:00
Matt Borland
a0132d7dc2 Fix spelling of Unsigned_Integer
[ci skip]
2023-01-10 12:04:51 -08:00
Matt Borland
aae6dd4f4c Implement integer parser
[ci skip]
2023-01-10 12:01:25 -08:00
Matt Borland
884b06641a Change exception specification
[ci skip]
2023-01-10 11:12:17 -08:00
Matt Borland
ab20292a93 Add character lookup table
[ci skip]
2023-01-10 10:25:02 -08:00
Matt Borland
9ae5f9e02a Define assert with message and check pre-conditions
[ci skip]
2023-01-10 09:55:36 -08:00
Matt Borland
9e3c7948dd Add integer framework
[ci skip]
2023-01-10 09:47:53 -08:00
Matt Borland
26c188efe9 Remove use of <string> header 2023-01-09 13:30:36 -08:00
Peter Dimov
6f25ba2a48 Add stub implementations of from_chars and to_chars 2022-12-29 19:47:34 +02:00
Peter Dimov
3f1ad6d6f4 Initial commit 2022-12-29 19:41:33 +02:00