Commit Graph

224 Commits

Author SHA1 Message Date
jzmaddock
f866903e9d Fix test failures for special functions. 2015-07-19 19:11:49 +01:00
jzmaddock
fec524f93a Split test up again - still too big! 2015-07-19 19:11:49 +01:00
jzmaddock
6d7a27889e Fix signed exclusive-bitwise-or to handle carry correctly.
See https://svn.boost.org/trac/boost/ticket/11364.
2015-07-19 19:11:28 +01:00
jzmaddock
8edcd89f39 Split some tests up. 2015-07-19 19:11:12 +01:00
jzmaddock
b94ddb0286 Add missing test case. 2015-07-19 19:11:11 +01:00
jzmaddock
90982e0191 Fix mixed mode comparison operators.
See https://svn.boost.org/trac/boost/ticket/11328.
And added tests for mixed mode comparisons and other operators.
2015-07-19 19:11:11 +01:00
jzmaddock
6abc91b3df Fix MSVC analyzer warnings. 2015-07-19 19:11:11 +01:00
jzmaddock
f89bac311b Fix right shifting of negative values in cpp_int.
To give the same values as 2's complement representations,
though not the same bit-pattern.
Updated tests.
Fixed assignment from float to not rely on shifting negative values.
2015-07-19 19:10:21 +01:00
jzmaddock
3b41c0af07 Stop using run in configure rules:
It breaks testing for some strange reason.
2015-07-19 19:10:21 +01:00
jzmaddock
689e66d28d Fix self assignment bug in mpfr_float
Fixes: https://svn.boost.org/trac/boost/ticket/11193
2015-07-19 19:08:25 +01:00
jzmaddock
f5f6a1fd17 Fix NaN comparisons.
Add tests to verify comparisons of NaN's are unordered.
Fix operators to check for unordered comparisons.
Fixes: https://svn.boost.org/trac/boost/ticket/11159
2015-07-19 19:08:24 +01:00
jzmaddock
0cfe21cf1c Fix some more noexcept failures, and tighten up the tests. 2015-02-10 16:51:36 +00:00
jzmaddock
6df6b1c441 Fix tests for case where double_limb_type = __int128. 2015-02-09 17:58:44 +00:00
jzmaddock
9927d49cb9 Many more fixes and tests for noexcept issues, see https://svn.boost.org/trac/boost/ticket/10990 2015-02-08 18:16:31 +00:00
jzmaddock
33630bc407 Clean up and enhance noexcept support, add tests to validate cpp_int and cpp_rational are performing as expected. See https://svn.boost.org/trac/boost/ticket/10990 2015-02-07 17:54:09 +00:00
jzmaddock
63f53c48f3 Merge branch 'develop' of https://github.com/boostorg/multiprecision into develop 2014-10-09 16:13:21 +01:00
jzmaddock
761c7c8c38 Fix some C++03 mode failures. 2014-10-09 16:12:56 +01:00
jzmaddock
bae613e6aa Abort test if there are too many errors 2014-09-23 17:01:14 +01:00
jzmaddock
cd1e62a4b0 Fix for issue https://svn.boost.org/trac/boost/ticket/10405
Change code snippets in docs to be complete programs to avoid any confusion.
Fix failure caused by change to Boost.Random.
Regenerate docs.
2014-08-29 18:54:09 +01:00
jzmaddock
2b86d278e9 Reduce program output. 2014-07-03 10:41:12 +01:00
jzmaddock
c2c2fd6d79 Enable correct rounding for mpq_rational -> floating point conversions. 2014-06-29 13:30:15 +01:00
jzmaddock
f779941205 Fix warnings and compiler errors, plus rounding error in generic_interconvert.hpp.
Add comments about rounding to gmp.hpp.
Update tests to check mpq_rational.
2014-06-29 10:36:19 +01:00
jzmaddock
6ae735d8d5 Commit test file and improve tests some more. Fix some bugs too! 2014-06-28 17:09:50 +01:00
jzmaddock
66fe81cdbc Update and enhance tests. 2014-06-28 16:27:50 +01:00
jzmaddock
45e242d17d Implement exact base-10 floating point to rational conversion. 2014-06-17 18:20:59 +01:00
jzmaddock
9f9394940a Add scalbn, ilogb, logb and tests and docs. 2014-06-17 08:53:54 +01:00
jzmaddock
4b25b2a6c4 Limit max digits to print so stupid libc++ can actually parse the input. 2014-04-11 09:34:10 +01:00
jzmaddock
e7704434d5 Fix PP-logic on test case.
Don't explicitly request gnu++0x mode - it causes conflicts with testers running in c++1y mode.
2014-04-10 18:01:29 +01:00
jzmaddock
e0680a745b Tentative fixes for VC9 failures, plus improve error reporting of failed lexical_casts in test_arithmetic.hpp. 2014-03-27 13:36:23 +00:00
jzmaddock
373fa10e18 Workarounds for VC-12 errors. 2014-03-25 13:10:00 +00:00
jzmaddock
3317ee0d4a More fixes for compiling with -ftrapv under gcc 2014-03-09 10:04:38 +00:00
jzmaddock
bdacea2934 Partial fix for https://svn.boost.org/trac/boost/ticket/9740 to allow code to be used with -ftrapv in gcc. 2014-03-08 10:57:01 +00:00
jzmaddock
9bf3b419c1 Minor fixes for Intel C++ on Win32. 2014-02-21 17:29:05 +00:00
jzmaddock
9d59d0a56c Remove reference to class that doesn't exist!! 2014-02-09 11:38:09 +00:00
jzmaddock
b3b9164bb9 Adjust big_lanczos now we have Sterling's approx in Boost.Math for large digit counts.
Add extra high-precision test for gamma functions.
2014-01-30 09:35:14 +00:00
jzmaddock
5302b484a4 Add serialization support to cpp_bin_float and document. 2013-12-22 13:35:56 +00:00
jzmaddock
787cd1101e Update tests to exercise move-construct/copy better.
Fix exposed bug in tommath backend.
See also https://svn.boost.org/trac/boost/ticket/9497.
2013-12-22 09:57:01 +00:00
jzmaddock
8fc8406008 Fix cpp_bin_float gcc compile.
Fix tests to work as intended.
2013-12-04 17:14:38 +00:00
John Maddock
59d2c0d383 Fix up error rates for cpp_bin_float: these are higher mostly down to less accurate sine and cosine than the competition :-(
[SVN r86786]
2013-11-22 17:13:35 +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
0a3a504f92 Merge multiprecision changes from Trunk.
[SVN r85681]
2013-09-15 18:04:02 +00:00
John Maddock
635d9aee34 Fix pp-logic.
[SVN r85662]
2013-09-13 16:45:52 +00:00
John Maddock
549eed8c92 TRy and improve error reporting.
[SVN r85650]
2013-09-11 18:14:32 +00:00
John Maddock
10e6f7227d Fix path used to load test data.
[SVN r85642]
2013-09-10 17:40:30 +00:00
John Maddock
1e268d62ef Improve error handling in serialization tests.
[SVN r85619]
2013-09-09 11:52:30 +00:00
John Maddock
07c1027919 Update for Intel 13.1
[SVN r85253]
2013-08-09 12:27:11 +00:00
John Maddock
c5e7d59a73 Add serialization support to float128 and adaptor backends.
Use __float128 via typedefs so recent Intel compilers don't complain.

[SVN r85241]
2013-08-08 17:43:54 +00:00
John Maddock
6ab42a5611 Fix binary archive serialization.
Add rational serialization.

[SVN r85231]
2013-08-07 08:15:51 +00:00
John Maddock
07369c61a2 Improve serialization tests.
[SVN r85219]
2013-08-06 08:08:13 +00:00
John Maddock
7aa0322d97 Fix gcc serialization code, and improve binary serialization.
[SVN r85214]
2013-08-05 15:03:07 +00:00