Matt Borland
e52759e589
Fix boost min/max guidelines violations
2025-01-03 13:26:14 -05:00
Matt Borland
43591ec02d
Use ldexp from quadmath
2025-01-03 10:05:36 -05:00
Ruben Perez
d9ac43515f
Unify BOOST_CHARCONV_HAS_FLOAT128 to BOOST_CHARCONV_HAS_QUADMATH
2025-01-03 15:44:03 +01:00
Matt Borland
a26acc2a58
Fix typo
2024-10-18 11:04:53 -04:00
Ivan A. Melnikov
77cf605d5e
Fix float128 support when long double is not supported
...
The idea of selecting type_layout here is:
- find the matching layout if one exists;
- otherwise, select the largest layout supported.
Expressing this in a bit more clear way hides unsupported
layouts from the compiler with preprocessor conditions,
which fixes compilation when float128 is supported, but
long doubles are not supported by Boost.Charconv on a
given platform.
Fixes #220 .
2024-08-27 12:35:43 +04:00
Matt Borland
dabfca96a2
Fix ancient compilers deducing as initializer_list
2024-06-21 12:30:22 -04:00
Matt Borland
52b89fc767
Fix -Werror=sign-compare
2024-06-20 17:03:01 -04:00
Matt Borland
9a672d0152
Additional bounds checks since for inserting zeros
2024-06-20 16:53:34 -04:00
Matt Borland
d8d59936dc
Correct and simplify logic for inserting leading 0s
2024-06-20 16:09:18 -04:00
Matt Borland
6dacd45d46
Fix handling of zero
2024-06-20 15:13:39 -04:00
Matt Borland
0a51298bda
Improve method of appending zeros
2024-06-20 14:46:22 -04:00
Matt Borland
80e52b6b61
Improve control flow
2024-06-20 14:42:03 -04:00
Matt Borland
8511677a1f
Fix macro name
2024-04-17 09:32:27 +02:00
Matt Borland
0a82afd264
Remove cruft codeblock
2024-04-17 09:23:56 +02:00
Matt Borland
b28d2c1452
Fix to_chars macros for unsupported long double formats
2024-04-17 09:03:11 +02:00
Matt Borland
f87edf5494
Fix from_chars unsupported long double macros
2024-04-17 09:01:39 +02:00
Matt Borland
cea3429d63
Check result of float for valid inf values
2024-04-16 11:00:59 +02:00
Matt Borland
76af12f228
Fix potential overflow in 16 bit interchange
2024-04-16 08:17:23 +02:00
Matt Borland
2b6c16db3f
Fix bfloat16_t offsets
2024-04-15 09:52:20 +02:00
Matt Borland
3b1a5c3c0d
Remove decimal point if not needed
2024-04-15 09:16:40 +02:00
Matt Borland
0212fe157b
Reorder to skip else branch
2024-04-15 09:16:28 +02:00
Matt Borland
ec0b4e26a8
Fix significand alignment
2024-04-15 09:16:11 +02:00
Matt Borland
033c8a0a99
Fix sig manipulation
2024-04-12 11:51:44 +02:00
Matt Borland
25c2e9b276
Use to_chars_nonfinite instead of ryu for exceptional values
2024-04-11 10:40:33 +02:00
Matt Borland
def4947644
Update 16-bit function calls
2024-04-11 10:40:33 +02:00
Matt Borland
5c1b5dbb83
Add to_chars_16_bit_float_impl
2024-04-11 10:40:33 +02:00
Matt Borland
446c2cdf61
Add 16-bit support to to_chars_hex
2024-04-11 10:40:33 +02:00
Matt Borland
288baacac8
Merge pull request #178 from boostorg/CI
...
Update CI toolchains
2024-04-11 10:28:24 +02:00
Matt Borland
b640e86f37
Fix GCC-13 -Wuninitialized
2024-04-11 08:59:30 +02:00
Matt Borland
956d70e86e
Add std::float128_t limits test
2024-04-10 11:54:05 +02:00
Matt Borland
63db5d336a
Rename quadmath build macro
2024-04-10 10:45:20 +02:00
Matt Borland
05dc623da3
Remove float128.cpp
2024-04-10 10:39:20 +02:00
Matt Borland
dcbb2bfdab
Update build macros in cpp files
2024-04-10 10:20:40 +02:00
Matt Borland
ff94a76936
Move limits specialization back to limits header
2024-04-10 10:20:08 +02:00
Matt Borland
147b1f4484
inline to fix linker errors
2024-04-09 11:52:41 +02:00
Matt Borland
cad74dc5b0
Move inlined functions
2024-04-09 11:20:16 +02:00
Matt Borland
1fb88301e2
Add integer conversion function since cast was removed
2024-04-09 11:07:13 +02:00
Matt Borland
8f7d73e20f
Add specialization of clingers fast path and move struct words
2024-04-09 10:37:18 +02:00
Matt Borland
279188b90e
Add float128 implementation files
2024-04-09 09:54:07 +02:00
Matt Borland
3865d9e1bf
Add macro for building in float128 support
2024-04-09 09:02:13 +02:00
Matt Borland
317e04feff
Merge pull request #168 from boostorg/166.2
...
Fix for issue #166 negative precision
2024-02-22 09:03:36 +01:00
Junekey Jeon
873596a8ce
Fix signed vs unsigned comparison & unused variable warnings
2024-02-20 23:41:43 -08:00
Matt Borland
8ac50bcfbb
Merge remote-tracking branch 'origin/develop' into 158.2
2024-02-21 08:07:55 +01:00
Junekey Jeon
c4136048e9
Replace result_out_of_range by value_too_large
2024-02-20 18:54:29 -08:00
Matt Borland
340a72eb24
Fix ADL issue
2024-02-20 11:50:29 +01:00
Matt Borland
9b18b7078b
Fix for __float128 unused parameter
2024-02-20 10:55:40 +01:00
Matt Borland
2f8e4d022b
Fix for MSVC long double
2024-02-20 10:54:27 +01:00
Matt Borland
6bac04d89b
Remove default precision parameter
2024-02-20 10:50:59 +01:00
Matt Borland
dba9fb81ab
Add to_chars overloads without precision
2024-02-20 10:31:24 +01:00
Matt Borland
93628127f0
Refactor to_chars_float_impl for 80 and 128 bit types
2024-02-20 10:30:57 +01:00