Matt Borland
9e424ff5a5
Suppress non-ISO type warnings
2022-07-11 12:21:16 -07:00
jzmaddock
7e677e83eb
Fix conflict between cstdfloat.hpp and multiprecision. ( #474 )
...
* Tentatively fix conflict between cstdfloat.hpp and multiprecision.
* Add missing struct to new code path.
* Reconfigure again for cstdfloat.hpp interop.
* Add missing #includes to float128.hpp.
Make constexpr __float128 arithmetic tests behave the same way, irrespective of whether numberic_limits is specialized for that type.
* Make tests conditional on BOOST_HAS_FLOAT128
2022-06-17 18:37:06 +01:00
jzmaddock
521ab46cbc
Implement conversions to and from __in128 and __float128.
...
Add tests to test_arithmetic.hpp.
Strengthened up conversion/assignment operators with enable_if as required, so that unsupported conversions lead to errors at the top level (when looking for the operator in class number), rather than deep inside our template code.
Fixes: https://github.com/boostorg/multiprecision/issues/237 .
2021-12-28 19:11:34 +00:00
Matt Borland
0714f859b4
Remove boost/core/no_exceptions_support dependency
2021-11-21 17:57:09 +02:00
jzmaddock
5f419ece9a
Test debug/logged_adaptors with nearly everything.
...
Fix up all the resulting failures.
Fixes: https://github.com/boostorg/multiprecision/issues/329 .
2021-06-11 16:52:44 +01:00
jzmaddock
771985f06b
Finish off removing pretty much all of type_traits usage.
2021-01-14 19:25:54 +00: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
Tinko Bartels
8740e3863b
Replace broken links.
2019-04-23 08:51:47 +02:00
jzmaddock
fb9503920a
Add more interconversion tests and fix resulting failures.
2016-10-03 18:01:16 +01:00
jzmaddock
0baca0eb80
Another exception handling fix.
2016-03-17 13:26:39 +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
John Maddock
a55e2c15a1
Misc minor workarounds for Oracle C++
2016-03-08 18:00:12 +00:00
jzmaddock
7e457161e6
Fix digits10 to use +3 not +2 which doesn't always add enough.
2015-07-19 17:47:38 +01:00
John Maddock
42458450be
Add initial support for mpfi interval arithmetic
...
[SVN r82337]
2013-01-03 18:58:43 +00:00
John Maddock
4d78b669b8
Improve testing macros and update test_arithmetic.cpp to use them and offer better error reporting.
...
[SVN r81497]
2012-11-23 17:19:11 +00:00
John Maddock
645fe8865c
Add tests for checked ints and fix failures.
...
Make negating an unsigned int an error, and fix resulting test failures.
Change allocator defaults to be void when the allocator is not actually required.
[SVN r81070]
2012-10-27 17:48:33 +00:00
John Maddock
dd7ee60431
Fix GCC C++11 mode failures.
...
Tidy up TODO list.
[SVN r80577]
2012-09-18 16:47:03 +00:00
John Maddock
19ee491c55
Add noexcept support/markup where possible.
...
[SVN r79331]
2012-07-07 11:16:28 +00:00
John Maddock
ec3cf57c91
Add licence and copyright.
...
[SVN r77624]
2012-03-29 12:15:05 +00:00
John Maddock
4a9845ac7e
Fix and test integer formatted output.
...
[SVN r75716]
2011-11-28 19:24:20 +00:00
John Maddock
7143af0191
Fix IO of infinities and NaN's.
...
Add IO round trip test and adjust max_digits10 accordingly.
[SVN r75714]
2011-11-28 16:28:31 +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
cd31fbde7a
Fix operator>> for mp_number.
...
Add template inter-conversions on cpp_float.
Adjust precision of test reporting.
[SVN r75520]
2011-11-17 18:08:51 +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
fc1eb9303f
Get the tests passing with gcc on Linux.
...
[SVN r75094]
2011-10-23 15:49:27 +00:00
John Maddock
628c8cd62f
Added atan2, plus missing file.
...
[SVN r75090]
2011-10-22 17:32:01 +00:00