Commit Graph

135 Commits

Author SHA1 Message Date
Matt Borland
57919cea20 Change x86 intrinsic to work with 32bit environment 2023-02-21 10:33:06 -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
Peter Dimov
3f093e8851 Add definitions for limits<(u)int128_t>::max_chars(10) 2023-02-10 21:59:49 +02:00
Peter Dimov
b46dc2988b Add limits<T> specializations for (u)int128, because std::numeric_limits isn't always correct 2023-02-10 21:51:27 +02:00
Matt Borland
4cf3d9e329 Remove requirement for __STRICT_ANSI__ 2023-02-10 11:30:53 -08:00
Matt Borland
72c6ac6f52 Add specific overloads 2023-02-10 11:30:33 -08:00
Matt Borland
c66100bc90 Use boost.config types 2023-02-10 10:55:52 -08:00
Matt Borland
256d0fe81a Use decompose32 instead of calling 64-bit impl 2023-02-10 09:15:59 -08:00
Matt Borland
f23cf8db75 Merge remote-tracking branch 'origin/develop' into 128_to_chars 2023-02-09 09:56:05 -08:00
Matt Borland
6de3ba1028 Merge pull request #15 from mborland/fix_develop
Fix UB on develop
2023-02-09 09:35:41 -08:00
Matt Borland
06a00852b1 Add missing header 2023-02-09 09:26:18 -08:00