1594 Commits

Author SHA1 Message Date
Ruben Perez
195948c271 Removed implicit lib requirements from Jamfile 2025-01-03 15:31:13 +01:00
Ruben Perez
0df4a875e5 Made BOOST_CHARCONV_HAS_QUADMATH a usage requirement of boost_charconv in Jamfile 2025-01-03 15:30:44 +01:00
Matt Borland
ffd3e710d0 Merge pull request #242 from Flamefire/zeroes
Fix uninitialized values when parsing zeroes
2025-01-02 16:10:36 -05:00
Alexander Grund
685d4b1bfc Protect against max macro
Co-authored-by: Matt Borland <matt@mattborland.com>
2025-01-02 16:43:26 +01:00
Alexander Grund
aa0b11c268 Avoid -Wconversion warning for small significant types 2025-01-02 16:17:49 +01:00
Alexander Grund
d961daf547 Fix uninitialized values when parsing zeroes
`0.e0` will not initialize the significant reference argument.
`00[..]0.[0...]` will not initialize exponent nor significant.
2025-01-02 16:17:49 +01:00
Alexander Grund
53c2394b4e Add test case for different zeroes 2025-01-02 16:17:49 +01:00
Alexander Grund
d999d9284e Add from_chars_dispatch overload for unsigned integers smaller than uint64_t
Useful for testing.
2025-01-02 16:17:46 +01:00
Matt Borland
9846df1598 Merge pull request #250 from anarthal/remove-boost-random-dependency
Removed a spurious dependency to Boost.Random in tests
2025-01-02 08:49:21 -05:00
Matt Borland
8742fa3a60 Merge pull request #247 from Flamefire/patch-2
GHA: Fix GCC 13 job
2025-01-02 08:48:14 -05:00
Matt Borland
d398cf1de0 Merge pull request #245 from Flamefire/patch-1
GHA: Show b2 command invocation
2025-01-02 08:47:06 -05:00
Matt Borland
41caca15d8 Merge pull request #240 from Flamefire/superflous-exp
Remove superflous assignment to exponent argument in parser
2025-01-02 08:46:35 -05:00
Matt Borland
26359d7265 Merge pull request #243 from Flamefire/off-by-one
Fix off-by-one error in parser buffer size
2025-01-02 08:40:31 -05:00
Ruben Perez
c862a0d8c3 Removed a spurious dependency to Boost.Random in tests 2025-01-01 14:49:44 +01:00
Alexander Grund
135d9d7815 GHA: Fix GCC 13 job
`cxxflags` must be a string type not an array or it will be expanded as:
```
  if [ -n "Array" ]
  then
      B2_ARGS+=("cxxflags=Array")
  fi
```

Fixes #246
2024-12-28 16:59:37 +01:00
Alexander Grund
f2a4c360b4 GHA: Show b2 command invocation
To aid debugging CI failures use `set -x` to show the actual build command issued.
2024-12-28 16:55:11 +01:00
Alexander Grund
73eb4f8292 Fix off-by-one error in parser buffer size
When parsing a value with the maximum number of digits the last digit
will be truncated and the exponent increased instead.
This change allows to parse e.g. `<UINT64_MAX>e0` correctly.
2024-12-28 14:30:32 +01:00
Alexander Grund
cbf501f09e Add parser test case for uint64_max 2024-12-28 14:30:32 +01:00
Alexander Grund
9e4975c94b Remove superflous assignment to exponent argument in parser
The exponent will be parsed later, the value assigned at this position
is meaningless or even wrong.
2024-12-27 21:06:17 +01:00
Alexander Grund
8951db1b3e Remove superflous test duplication
The template argument in the detail::parser tests is not used so the
exact same test is executed multiple times.
2024-12-27 19:27:24 +01:00
Matt Borland
8fbdb8a08b Merge pull request #236 from Flamefire/patch-1
Fix node 20 issue on GHA CI
2024-12-09 09:00:30 -05:00
Alexander Grund
ef15182976 Fix install of packages 2024-12-08 20:50:23 +01:00
Alexander Grund
a648d22623 Use hosted node 2024-12-08 13:10:10 +01:00
Alexander Grund
82f4012c15 Fix node 20 issue on GHA CI 2024-12-07 19:44:11 +01:00
Matt Borland
abb721d556 Merge pull request #232 from boostorg/float128
Fixes for fixed width 128-bit float with specified precision
2024-10-28 13:18:28 -04:00
Matt Borland
8cdcb5e3f3 Fix array init for Clang 3.x series 2024-10-28 09:48:06 -04:00
Matt Borland
7218d59ddf Add further rounding test analogous to Gero's test set 2024-10-28 09:40:07 -04:00
Matt Borland
29cf8baf94 Further improve coverage 2024-10-22 10:14:42 -04:00
Matt Borland
868dc66b1b Rounding is different with different LDBL sizes 2024-10-22 09:18:10 -04:00
Matt Borland
b52f087cae Fix trailing precision for 80-bit ldbl 2024-10-22 09:02:42 -04:00
Matt Borland
94fa33cc08 Fix std::float128_t macro 2024-10-22 09:02:22 -04:00
Matt Borland
9f9ce24cc1 Add supported long double testing to improve coverage 2024-10-21 09:58:12 -04:00
Matt Borland
f1e1acb72b Add bounds checks 2024-10-21 09:14:38 -04:00
Matt Borland
f5f961b6b9 Replace GNU with non-GNU in coverage since quadmath is not supported 2024-10-18 15:48:04 -04:00
Matt Borland
66f4e8401d Disable single test affected by tooling changes 2024-10-18 14:50:02 -04:00
Matt Borland
380c5498da Fix general chars format changes 2024-10-18 14:20:23 -04:00
Matt Borland
19912e48d7 Add additional debugging info 2024-10-18 14:09:29 -04:00
Matt Borland
933359afc6 Merge pull request #233 from boostorg/boostlook
Simplify boostlook command
2024-10-18 13:41:37 -04:00
Matt Borland
eba792eba5 Add GCC-13 excess precision flag 2024-10-18 12:46:17 -04:00
Matt Borland
b417dc4da2 Remove <stdfloat> header from test 2024-10-18 12:40:11 -04:00
Matt Borland
8d52331247 Simplify boostlook command 2024-10-18 12:38:52 -04:00
Matt Borland
6f2513e318 Add null terminators in test instead of code path 2024-10-18 12:36:50 -04:00
Matt Borland
b84af826a3 Fix case of -1 precision 2024-10-18 12:23:45 -04:00
Matt Borland
59ee8b95f9 Cover <stdfloat> 2024-10-18 12:18:27 -04:00
Matt Borland
76f892fee0 Fix GCC 13 -Werror=sequence-point 2024-10-18 12:09:04 -04:00
Matt Borland
d75aa1408a Make the test more broadly available 2024-10-18 12:07:07 -04:00
Matt Borland
27f5e54f8d More rounding fixes 2024-10-18 12:06:52 -04:00
Matt Borland
36828def29 Add more complex rounding tests 2024-10-18 11:57:04 -04:00
Matt Borland
52b3238f7a Fix situation where due to rounding we need trailing 0s 2024-10-18 11:56:47 -04:00
Matt Borland
a26acc2a58 Fix typo 2024-10-18 11:04:53 -04:00