jzmaddock
2061889b77
Correct __float128 precision in cpp_bin_float.hpp
...
Enable some more travis tests.
2017-05-22 19:47:27 +01:00
jzmaddock
70ded01359
Fix tabs in travis file.
2017-05-22 19:03:54 +01:00
jzmaddock
dbdda6aabc
Update float128 support test to check Boost.Config.
...
Enable more tests for travis.
2017-05-22 19:00:24 +01:00
jzmaddock
76b45890fd
Fix travis b2 invocation command.
2017-05-22 08:21:26 +01:00
jzmaddock
63151ee01c
Greatly simplify travis tests in the hopes they won't time out now...
2017-05-21 19:22:41 +01:00
jzmaddock
302c6f5c35
Fix up __float128 interoperability.
2017-05-21 11:16:29 +01:00
jzmaddock
f9eaf94f2e
Previous __float128 commit was buggy - fix.
2017-05-19 19:47:53 +01:00
jzmaddock
d6204058f0
Remove duplicate specialization of number_category<__float128> unless we're really using __Quad.
2017-05-19 19:22:41 +01:00
jzmaddock
bc8744811c
Merge branch 'develop' of https://github.com/boostorg/multiprecision into develop
2017-05-19 18:22:46 +01:00
jzmaddock
e2566a4f7f
Tentative fix for construction from __float128 compiler failure in cpp_bin_float.
2017-05-19 18:22:33 +01:00
John Maddock
2a19b605c5
Disable concept checks on Travis: the tests take too long otherwise!
2017-05-17 18:34:10 +01:00
John Maddock
4b2ff0b97e
Merge branch 'develop' of https://github.com/boostorg/multiprecision into develop
2017-05-17 18:31:20 +01:00
John Maddock
fdb0ce2b37
Workaround for lack of numeric_limits specializations of __int128 when in strict ansi mode, rather than GNU mode.
2017-05-17 18:20:48 +01:00
jzmaddock
3ac91992c6
Add initial .travis.yml
2017-05-16 19:51:05 +01:00
jzmaddock
08b9a6980f
random example requires explicit conversion operators (inside Boost.Random).
2017-05-15 18:33:42 +01:00
jzmaddock
76ad144e00
Disable new pow/exp underflow tests for interval types.
...
The resulting intervals are too wide for the tests to pass.
2017-05-15 12:03:32 +01:00
jzmaddock
f7dc0c74c5
Update test_pow.cpp/test_exp.cpp to handle types with no infinity.
...
Also adjusted start point of tests for float128.
2017-05-14 19:26:12 +01:00
jzmaddock
54aebca85d
Fix overflow error in mpf_float::eval_convert_to.
2017-05-14 19:25:08 +01:00
jzmaddock
e691d23cd5
Fix for internal logic error in exp of large values.
...
See https://github.com/boostorg/multiprecision/issues/23 .
2017-05-14 09:37:49 +01:00
jzmaddock
de4b88b55f
Merge branch 'develop' of https://github.com/boostorg/multiprecision into develop
2017-05-12 18:50:36 +01:00
jzmaddock
f2a266da6d
Fix for trig functions of huge arguments.
...
See https://github.com/boostorg/multiprecision/issues/24 .
Note that this is not a particularly clever fix!
2017-05-12 18:50:03 +01:00
John Maddock
8aeee5feb4
Suppress some gcc-6.3 warnings
2017-04-30 18:50:55 +01:00
jzmaddock
12524489a0
Suppress warning about stray ;'s.
2017-04-26 19:27:46 +01:00
jzmaddock
4085ad30a4
Import gcd/lcm into namespaces math and integer.
...
Provides compatibility with Boost.Integer gcd/lcm, and with (deprecated) Boost.Math.
2017-04-26 18:27:19 +01:00
jzmaddock
34dc9d1966
Add more overflow tests.
2017-03-05 17:10:44 +00:00
jzmaddock
2876565d86
Add new test to Jamfile.
2017-03-05 17:04:29 +00:00
jzmaddock
f333808577
Increase testing of truncated integer arithmetic.
2017-03-05 17:02:10 +00:00
jzmaddock
7a2df8ff0a
Fix error handing in checked cpp_int multiply.
...
See https://github.com/boostorg/multiprecision/issues/16
2017-03-05 13:10:13 +00:00
jzmaddock
34b6cb0475
Merge branch 'develop'
2017-03-04 18:24:03 +00:00
jzmaddock
3a35b4941a
Update history.
2017-03-04 18:23:21 +00:00
jzmaddock
2353feba03
Merge branch 'develop'
2017-03-04 18:01:28 +00:00
jzmaddock
f4dceca5dc
Disable some float128 tests when running under older gcc versions -
...
no point in testing for old bugs in libquadmath.
2017-03-03 09:20:58 +00:00
jzmaddock
71ffdc4b35
Merge rational fixes
2017-02-27 09:36:14 +00:00
jzmaddock
12a45a9aa2
Fix return type on mpfi ln_two constant
2017-02-26 16:11:05 +00:00
jzmaddock
c5a660d33a
Remove outdated boost::rational workarounds, also quash a couple of warnings.
2017-02-26 14:56:57 +00:00
jzmaddock
cd2bbcba5b
Fix bounded variable precision cpp_int's.
...
1) Removed some constexpr optimizations which were causing the code to fail to spot that truncation/overflow had occurred.
2) Change min/max code for numeric_limits to work for bounded variable precision types (this needs more work as the current code relies on being able to create a fixed-precision allocator-free type of equivalent width.
3) Add tests for bounded variable precision integers.
See: https://svn.boost.org/trac/boost/ticket/12798
2017-02-03 19:39:28 +00:00
jzmaddock
e108817e69
C99 tests: disable one more mpfr case fixed in recent releases.
2017-01-31 19:56:31 +00:00
jzmaddock
9341113864
C99 test: don't test buggy mpfr versions.
2017-01-31 19:54:49 +00:00
jzmaddock
7deabbe0d4
Previous commit was incomplete.
2017-01-31 19:46:26 +00:00
jzmaddock
c99bb4d418
Fix tests use of min/max types and correct type for the exponent of the number.
2017-01-31 19:41:35 +00:00
jzmaddock
6139de5732
Add MPFR version info to test.
2017-01-31 19:21:51 +00:00
jzmaddock
c81a5e410a
Fix GCC-ubuntu failures induced by previous commits
2017-01-30 23:08:34 +00:00
jzmaddock
8179baf40f
Fix cpp_int left shift in cases where there is bit-loss.
...
See https://svn.boost.org/trac/boost/ticket/12790 .
Also add dedicated test case.
2017-01-29 19:20:29 +00:00
jzmaddock
4911125248
Allow conversion from __float128 to cpp_bin_float.
2017-01-23 19:40:42 +00:00
jzmaddock
c0df5b6747
Change ilogb to consistently return the minimum value of the exponent type
...
(which may be either narrower or wider than the int return type specified in C99).
Change transcendental code which uses ilogb for loop termination, to check for
a minimal value return to correctly handle the case that the value has gone to zero.
See https://svn.boost.org/trac/boost/ticket/12625
2016-12-03 08:50:38 +00:00
jzmaddock
fe3eac52bf
Fix bit exporting of trivial cpp_ints.
...
Fixes: https://svn.boost.org/trac/boost/ticket/12627 .
2016-12-02 17:57:35 +00:00
jzmaddock
26ceb6ef38
Get cpp_dec_float, float128, and mpfr passing the C99 annex F tests.
...
See https://svn.boost.org/trac/boost/ticket/12581 .
2016-12-02 17:54:36 +00: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
ec018d5099
Increase testing for rounding when subtracting cpp_bin_float.
2016-11-18 10:56:58 +00:00
jzmaddock
a31d765629
Merge branch 'develop' of https://github.com/boostorg/multiprecision into develop
2016-11-17 19:02:30 +00:00