Commit Graph

154 Commits

Author SHA1 Message Date
Matt Borland
ae2d93e6ff Add hex scientific notation tests 2023-02-24 11:50:12 -08:00
Matt Borland
eb7e7d6eb6 Add tests for over/underflow 2023-02-24 11:42:26 -08:00
Matt Borland
70d4c7ae82 Add hex tests and shift responsibility for significand to computeXX 2023-02-24 11:23:02 -08:00
Matt Borland
b08344d002 Add scientific notation tests 2023-02-24 10:29:03 -08:00
Matt Borland
07a23c4652 Fix warning C4702: unreachable code 2023-02-24 09:56:32 -08:00
Matt Borland
034c05598f Add int->float parser test 2023-02-24 09:23:55 -08:00
Matt Borland
d839541743 WIP: Add generic parser 2023-02-23 11:53:26 -08:00
Matt Borland
c324d84350 Use to_chars to assemble a long double
[WIP]
2023-02-23 10:20:29 -08:00
Matt Borland
1a29f507da Add function to compute float 2023-02-23 08:45:59 -08:00
Matt Borland
094d0d87a2 Fix memory access violation 2023-02-22 12:26:07 -08:00
Matt Borland
a055bce3ee Add simple test for compute_float64 2023-02-22 11:53:23 -08:00
Matt Borland
a221554cb2 Move from_chars result into it's own header 2023-02-22 10:39:59 -08:00
Matt Borland
a525b9435a Add function to compute double from significand and exponent
[ci skip]
2023-02-22 09:44:00 -08:00
Matt Borland
4ff073e5f6 Remove all leading zero files 2023-02-21 12:03:58 -08:00
Matt Borland
7bee6b4d12 Merge remote-tracking branch 'origin/develop' into float_from_chars 2023-02-21 11:00:44 -08:00
Matt Borland
0f96efc9a7 Use boost.core implementations 2023-02-21 11:00:34 -08:00
Matt Borland
57919cea20 Change x86 intrinsic to work with 32bit environment 2023-02-21 10:33:06 -08:00
Matt Borland
2e60941a2e Add static_assert for sizeof uchar_values array 2023-02-21 09:49:32 -08:00
Matt Borland
cf3ef482b1 Replace std::array with c-style array 2023-02-21 09:12:05 -08:00
Matt Borland
370ac6ec9f Suppress Wconstant-conversion warning on Apple Clang 2023-02-21 09:10:39 -08:00
Matt Borland
2f2929eabc Add big endian leading zero count 2023-02-20 14:23:08 -08:00
Matt Borland
8caa7a0d2f Revert "Add BOOST_CHARCONV_HARDWARE_DESTRUCTIVE_INTERFACE_SIZE"
This reverts commit 5c7962d924.
2023-02-20 14:10:52 -08:00
Matt Borland
686c5881b9 Merge remote-tracking branch 'CPPAlliance/feature/drone' into float_from_chars 2023-02-20 14:09:28 -08:00
Peter Dimov
842d0593cd Update -Woverflow condition 2023-02-17 19:52:26 +02:00
Matt Borland
9bef637373 Add count leading zero with intrinsics and fallback 2023-02-17 09:07:08 -08:00
Matt Borland
ee8d666a27 Add intrinsics headers 2023-02-17 09:06:53 -08:00
Matt Borland
db46fbbe88 Add layouts for floating point types and LDBL size macros 2023-02-17 08:13:33 -08:00
Matt Borland
45866ca8c8 Add macros and assertion for endianness 2023-02-17 08:03:58 -08:00
Matt Borland
bd72532016 Inline functions 2023-02-16 11:45:49 -08:00
Matt Borland
513a96a25f Add 128-bit emulation 2023-02-16 11:21:54 -08:00
Matt Borland
5c7962d924 Add BOOST_CHARCONV_HARDWARE_DESTRUCTIVE_INTERFACE_SIZE 2023-02-16 11:00:10 -08:00
Matt Borland
129dfc3c2c Add significand tables 2023-02-16 09:23:03 -08:00
Matt Borland
68897e3140 Move macros from config to detail/config 2023-02-16 08:48:21 -08:00
Matt Borland
9342b67f2a Add TODO in config as Boost.Assert is now unused 2023-02-16 08:24:47 -08:00
Matt Borland
7c9e7263fb Remove assertions in to_chars 2023-02-16 08:24:31 -08:00
Matt Borland
8f7131ea37 Remove assertion in from_chars 2023-02-16 08:17:04 -08:00
Matt Borland
0182c638f2 Fix merge conflict 2023-02-15 16:39:37 -08:00
Peter Dimov
edd1a6582d Remove specializations from limits.hpp 2023-02-16 02:17:00 +02:00
Matt Borland
4f556332f0 Add guard macro 2023-02-15 12:07:12 -08:00
Matt Borland
e009bd95a2 Fix u128 integer search tree 2023-02-15 11:58:21 -08:00
Peter Dimov
eef6b8cf9f Disable C4189 in from_chars.hpp because of msvc-14.1 2023-02-15 02:50:38 +02:00
Peter Dimov
d9552f30c4 Change constexpr members of limits<> specializations to const because of Clang 5 2023-02-14 21:55:50 +02:00
Matt Borland
28c4bb9372 Ignore GCC 5 and 6 speculative execution warning 2023-02-14 10:07:51 -08:00
Matt Borland
2ddb84d230 Workaround for clang 5 partial inline variable support 2023-02-14 10:01:43 -08:00
Matt Borland
bb4691001e Change another macro to inline when not constexpr 2023-02-13 11:57:34 -08:00
Matt Borland
5f277f5a52 Add safety factor to overflow value 2023-02-13 11:41:11 -08:00
Matt Borland
704e1e9711 Remove duplicate inline 2023-02-13 11:38:40 -08:00
Matt Borland
26e15030b9 Make BOOST_CHARCONV_CONSTEXPR be inline when not constexpr 2023-02-13 11:35:53 -08:00
Matt Borland
4bb9176879 Fix MSVC warnings 2023-02-13 11:32:59 -08:00
Matt Borland
610c00ee22 Change guardrails for int128_type 2023-02-13 11:28:10 -08:00