ckormanyos
cbcf51c54a
Disable test_round for old GCC
2025-09-03 20:46:40 +02:00
ckormanyos
793f9bb9a0
Try repair some trivial typos
2025-09-03 20:17:25 +02:00
ckormanyos
6330e23478
Further simplify constexpr-ness
2025-09-03 19:37:37 +02:00
ckormanyos
d64f23f13b
First pass double_fp single-limb optimizations
2025-09-01 21:44:57 +02:00
ckormanyos
4aa8952e8d
Disable test_round for double-fp on old GCC
2025-09-01 18:50:46 +02:00
ckormanyos
5b53322674
Revert constexpr-ness efforts
2025-08-31 10:12:22 +02:00
ckormanyos
ac1b9545e7
Syntax and exclude test very old compiler
2025-08-30 21:29:53 +02:00
ckormanyos
0be16898fd
Keep tuning coverage
2025-07-14 20:06:43 +02:00
ckormanyos
e2a99d6b0d
Dedicated test-traits and MSVC easier
2025-06-27 15:28:52 +02:00
ckormanyos
695c3957d1
Address review comments for tests
2025-06-27 14:13:55 +02:00
ckormanyos
7607605e81
Rework 1 of eval_convert_to with more TBD
2025-06-24 19:54:31 +02:00
ckormanyos
38b7437964
Place some error diagnostics in CI
2025-06-23 20:58:22 +02:00
ckormanyos
f6ca99d93a
Workaround on test_round pending query
2025-06-21 11:02:03 +02:00
ckormanyos
28387756cb
Repair constexpr-ness of ctors
2025-06-20 19:51:48 +02:00
ckormanyos
373e5ef04d
Improve round via construct long long
2025-06-20 16:08:41 +02:00
ckormanyos
748b7511ae
Handle recent review comments
2025-06-19 13:28:31 +02:00
Christopher Kormanyos
5331c2a602
Use float128_type instead of num-wrapped float128
2023-01-05 14:27:22 +01:00
Christopher Kormanyos
15983a9c39
Add round test and eliminate an erroneous option
2023-01-04 19:49:39 +01:00
Matt Borland
d85e3f2b34
replace boost::long_long_type and boost::ulong_long_type
2021-11-26 20:29:08 +02:00
jzmaddock
8bb54d07fd
Remove most boost.type_traits usage.
2021-01-14 17:05:14 +00:00
jzmaddock
cb514e9249
Giant C++11 refactor removing:
...
BOOST_STATIC_ASSERT
BOOST_STATIC_CONST
boost::enable_if/disable_if
Changed many traits class usages from boost:: to std::.
2021-01-13 14:33:48 +00:00
jzmaddock
877753246f
clang-format: apply new format to (almost) everything.
2019-07-15 18:25:17 +01:00
jzmaddock
8d04a03850
Multiprecision: Fix msvc-14.1 C++17 warnings.
2017-12-26 19:22:21 +00:00
jzmaddock
a4b198e1b7
Multiprecision.cpp_bin_float: Fix errors in exponent usage when exponent type is a long long.
...
See https://svn.boost.org/trac10/ticket/13264 .
Fix previously unsupported situation: conversion of narrow cpp_bin_float to wider integer type.
See https://svn.boost.org/trac10/ticket/13301 .
Improve test coverage for cpp_bin_floats with large exponent types, and/or dynamic allocators.
Fix issue in numeric_limits::max() that caused a complement of a signed integer number to be taken when the allocator is dynamic.
Fix heuristic in exp() function that caused a crazy number of iterations to be taken when the exponent was very large.
2017-12-26 17:54:41 +00:00
jzmaddock
66f19e829e
Fix warnings in sincos.ipp and test_round.cpp.
...
Move some targets out of the "conversions" alias to try to fix travis timeouts.
2017-05-23 13:38:06 +01:00
jzmaddock
138a9055e2
Big commit to bring things into line with C99 Annex F.
...
See https://svn.boost.org/trac/boost/ticket/12581 .
2016-11-30 19:00:55 +00:00
jzmaddock
57333128e8
Allow code and tests to compile without exceptions.
...
See https://svn.boost.org/trac/boost/ticket/12070 .
2016-03-17 11:50:06 +00:00
jzmaddock
3317ee0d4a
More fixes for compiling with -ftrapv under gcc
2014-03-09 10:04:38 +00:00
John Maddock
10ed707a68
Initial merge of cpp_bin_float code from sandbox.
...
[SVN r86781]
2013-11-21 19:05:42 +00:00
John Maddock
04b1c9e9f0
Initial commit of 128-bit float wrapper
...
[SVN r83713]
2013-04-02 17:26:48 +00:00
John Maddock
42458450be
Add initial support for mpfi interval arithmetic
...
[SVN r82337]
2013-01-03 18:58:43 +00:00
John Maddock
bfd897f5d8
Fix some more GCC warnings and make compiles faster for slow compilers (Intel)
...
[SVN r81710]
2012-12-04 19:28:46 +00:00
John Maddock
4071dd8d59
Fix missing number constructor.
...
Fix is_explicitly_convertible to take account of the generic conversions.
Change sf_performance to use multiple files so we can actually compile the thing!
Minor doc updates.
Suppress some more warnings.
[SVN r81324]
2012-11-13 17:12:19 +00:00
John Maddock
fc1cda1f62
Largely cosmetic change - add two new template params to cpp_dec_float - one for the exponent type, and one for an optional allocator.
...
[SVN r80431]
2012-09-07 08:31:49 +00:00
John Maddock
1e00790703
Rename mp_number_archetype.
...
Update docs with explicit conversion info.
Regenerate docs.
[SVN r80261]
2012-08-27 12:30:53 +00:00
John Maddock
e2ef393c23
Big search and replace rename, removing mp_ prefix.
...
[SVN r79932]
2012-08-08 18:14:50 +00:00
John Maddock
f09ead8e37
Some file renaming and fixes from Steven Watanabe's comments.
...
[SVN r79141]
2012-06-27 18:25:10 +00:00
John Maddock
d4a2c46ac6
Update examples, reorganise docs, temporarily remove HTML before rebuilding.
...
Enhance test cases, including enabling loopback testing on cpp_dec_float io.
[SVN r77948]
2012-04-13 15:38:28 +00:00
John Maddock
8d6dedf4b0
Complete renaming of cpp_float to cpp_dec_float.
...
Rebuild docs.
[SVN r77037]
2012-02-16 09:36:26 +00:00
John Maddock
380d627359
Big search and replace: change cpp_float to cpp_dec_float.
...
Also fix up some numeric_limits test failures.
[SVN r77032]
2012-02-15 13:09:45 +00:00
John Maddock
ecead4525a
Suppress MSVC warnings in tests.
...
Add support for std::ios_base::fmtflags in string formatting.
Fix the errors that result from above change!
[SVN r75586]
2011-11-21 09:52:32 +00:00
John Maddock
b653174c77
Add enhanced testing support.
...
Remove throw statements for BOOST_THROW_EXCEPTION.
Remove throw() qualifiers: they're a dis-optimization.
[SVN r75511]
2011-11-16 17:36:40 +00:00
John Maddock
b85306e076
Fix remaining cpp_float bugs.
...
Fix use of expression templates in conditional expressions.
[SVN r75485]
2011-11-14 12:19:17 +00:00
John Maddock
c8eda6845e
Search and replace - rename mp_float cpp_float.
...
[SVN r75453]
2011-11-12 13:15:33 +00:00
John Maddock
47724a4221
Fixes for bugs in mp_float.
...
Fix constant initialization.
Add some instrumentation code.
Make mp_exp constructor explicit.
Remove some dead code.
Note mp_float division has outstanding bugs still!!
[SVN r75452]
2011-11-12 12:15:04 +00:00
John Maddock
0c4dde52ee
Get the rounding functions working and tested, update docs to match.
...
[SVN r75425]
2011-11-09 17:37:40 +00:00