Commit Graph

144 Commits

Author SHA1 Message Date
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
Matt Borland
0b38425753 Change check for negative value
[ci skip]
2023-02-13 10:41:54 -08:00
Matt Borland
b3dcef3185 Merge remote-tracking branch 'origin/develop' into drop_gnu 2023-02-13 09:57:35 -08:00
Matt Borland
6caa200ccf Change type in integer trees
[ci skip]
2023-02-13 09:46:30 -08:00
Matt Borland
7d71fac5cb Avoid signed/unsigned conversion warnings 2023-02-13 09:39:07 -08:00
Matt Borland
90bff4885d Use macros instead of numeric_limits for 128 bit types
[ci skip]
2023-02-13 09:29:21 -08:00
Matt Borland
dc5410558a Suppress MSVC warnings 2023-02-13 09:13:24 -08:00
Matt Borland
f189277046 Add specific type overloads 2023-02-13 09:00:03 -08:00
Matt Borland
c902e09e09 Add macros for numeric limits of (u)int128 2023-02-13 08:59:33 -08:00
Matt Borland
60c9233f52 Add short overloads 2023-02-13 08:50:30 -08:00
Matt Borland
85444fa3f4 Fixes for to_chars 2023-02-10 12:05:40 -08:00