Commit Graph

124 Commits

Author SHA1 Message Date
Matt Borland
370ac6ec9f Suppress Wconstant-conversion warning on Apple Clang 2023-02-21 09:10:39 -08:00
Peter Dimov
842d0593cd Update -Woverflow condition 2023-02-17 19:52:26 +02: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
Matt Borland
70cdcf49c9 Disable MSVC warning C4146 2023-02-09 09:23:22 -08:00
Matt Borland
e18205f383 Use unsigned integer as the return type in apply sign 2023-02-09 09:13:12 -08:00
Peter Dimov
8a29575a8d Add stub implementations for long double 2023-02-09 18:40:47 +02:00
Peter Dimov
c492e9c991 Update limits to take into account the fp max exponent 2023-02-09 18:32:56 +02:00
Peter Dimov
e8ce6b08e2 Definitions of constexpr members are allowed but deprecated in C++17 2023-02-09 02:11:37 +02:00
Peter Dimov
8ef71df436 Add definitions of limits constants 2023-02-09 01:55:13 +02:00
Peter Dimov
1aed8dfa4c Add limits.hpp to charconv.hpp 2023-02-09 01:42:33 +02:00
Peter Dimov
89107b55a8 Change limits<T> and update test/limits.cpp to test it 2023-02-09 01:21:26 +02:00
Matt Borland
ae368af252 Use existing decomposition methods so function can be constexpr 2023-02-08 11:48:26 -08:00
Peter Dimov
66d2acaa13 Add missing inlines 2023-02-08 21:39:57 +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