Commit Graph

177 Commits

Author SHA1 Message Date
Peter Dimov
9cde343cda Update test/limits.cpp 2023-02-10 21:22:45 +02:00
Peter Dimov
3f4daf0168 Update test/roundtrip.cpp 2023-02-10 21:15:24 +02:00
Matt Borland
ee068f52b7 Merge pull request #14 from mborland/128_to_chars
Add 128-bit integer support to to_chars
2023-02-10 11:05:02 -08:00
Matt Borland
c66100bc90 Use boost.config types 2023-02-10 10:55:52 -08:00
Matt Borland
60e7069450 Re-enable uint128_t testing 2023-02-10 09:16:40 -08:00
Matt Borland
05dbacd782 Add uint128_t stream function 2023-02-10 09:16:27 -08:00
Matt Borland
256d0fe81a Use decompose32 instead of calling 64-bit impl 2023-02-10 09:15:59 -08:00
Matt Borland
7ab2130061 Isolate test case
[ci skip]
2023-02-09 11:41:08 -08:00
Matt Borland
5bfe2f2768 Add int128 stream operator from SO
[ci skip]
2023-02-09 11:28:35 -08:00
Matt Borland
e43e59de15 Add framework for roundtrip test 2023-02-09 11:10:23 -08:00
Matt Borland
699d7351ef Add 128 bit test path 2023-02-09 10:44:24 -08:00
Matt Borland
25f653d351 Update docs 2023-02-09 10:39:45 -08:00
Matt Borland
ed07125f75 Add GNU runs to GCC 5 2023-02-09 10:29:38 -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
b78bf1acf5 Merge pull request #16 from mborland/gnu
Add GNU standard CI runs
2023-02-09 09:55:02 -08:00
Matt Borland
b8cb6b76c3 Add GNU standard CI runs 2023-02-09 09:39:10 -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
Peter Dimov
43f8d1b777 Add long double to limits test 2023-02-09 19:16:45 +02:00
Matt Borland
e18205f383 Use unsigned integer as the return type in apply sign 2023-02-09 09:13:12 -08:00
Peter Dimov
fd2e5139f1 Add long double to roundtrip test 2023-02-09 18:58:35 +02:00
Peter Dimov
c00e6b9ed7 Merge branch 'develop' into feature/long-double 2023-02-09 18:55:39 +02:00
Peter Dimov
b5772ad208 Merge branch 'feature/limits' into develop 2023-02-09 18:54:15 +02:00
Peter Dimov
13a5fe5c90 Update roundtrip fp values 2023-02-09 18:48:22 +02: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
d6163c2926 Update ci.yml 2023-02-09 03:01:43 +02:00
Peter Dimov
1df4ff38c1 Add boundary values to test/roundtrip.cpp 2023-02-09 02:50:58 +02:00
Peter Dimov
7b9fc7b392 Update reference 2023-02-09 02:29:28 +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
1eec775de3 Add test for odr-use of the limits constants 2023-02-09 01:49:48 +02:00
Peter Dimov
0398da3b67 Add simple sanity checks for the limits<> values 2023-02-09 01:46:58 +02:00
Peter Dimov
1aed8dfa4c Add limits.hpp to charconv.hpp 2023-02-09 01:42:33 +02:00
Peter Dimov
6a603841d2 Add limits.hpp to reference 2023-02-09 01:42:16 +02:00
Peter Dimov
ecbf043f82 Add floating point from_chars check to test/limits.cpp 2023-02-09 01:29:58 +02:00
Peter Dimov
ccbae48c1a Add integral from_chars check to test/limits.cpp 2023-02-09 01:28:02 +02:00
Peter Dimov
89107b55a8 Change limits<T> and update test/limits.cpp to test it 2023-02-09 01:21:26 +02:00
Peter Dimov
8b9fde63cb Update reference section 2023-02-08 22:14:27 +02:00
Matt Borland
ae368af252 Use existing decomposition methods so function can be constexpr 2023-02-08 11:48:26 -08:00
Peter Dimov
2f898f5146 Add macos-12 to GHA 2023-02-08 21:43:01 +02:00
Peter Dimov
66d2acaa13 Add missing inlines 2023-02-08 21:39:57 +02:00
Peter Dimov
919a92255f Output more information on floating point failure 2023-02-08 21:33:27 +02:00
Peter Dimov
ee8a376f82 Add missing include 2023-02-08 21:26:16 +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
Peter Dimov
f476f9c39c Update test/roundtrip.cpp 2023-02-08 20:57:08 +02:00
Matt Borland
ecd8ddb709 Add limits specialization 2023-02-08 10:39:44 -08:00
Matt Borland
7671580028 Improve macros 2023-02-08 10:11:53 -08:00
Matt Borland
d1fc7b4e60 Implementation for 128-bit ints 2023-02-08 09:50:36 -08:00