Commit Graph

1243 Commits

Author SHA1 Message Date
John Maddock
a461ca170a Add lot's of enable_if's to integer only operators to restrict them to integer types (improves error messages).
Update test coverage Makesfile.
Update tests for full coverage.

[SVN r84051]
2013-04-26 08:17:12 +00:00
John Maddock
5126fa8e74 Fix float128 compile error.
Add constexpr support to float128.
Add float128 docs and rebuild HTML.

[SVN r84016]
2013-04-22 17:50:55 +00:00
John Maddock
fe005f030a Don't use C++11 only features of std::string.
[SVN r83900]
2013-04-14 15:53:05 +00:00
John Maddock
727b4c4643 Fixes to get the float128 tests passing with Intel C++ 13.0.
[SVN r83874]
2013-04-13 16:53:01 +00:00
John Maddock
74e46a3306 Initial Intel C++ _Quad support in float128.
[SVN r83856]
2013-04-12 09:01:20 +00:00
John Maddock
ba0232fb1e Fix float128 string formatting.
[SVN r83831]
2013-04-10 16:30:13 +00:00
John Maddock
eb267293d7 Refactored build process to improve compile times.
Fixed expression-template incompatibility in spherical_harmonic.hpp.
Fixed expression template issues in log1p_expm1_test.hpp and test_cbrt.hpp.

[SVN r83775]
2013-04-06 08:54:04 +00:00
John Maddock
4a1fcb015d Add missing file.
[SVN r83749]
2013-04-03 18:01:25 +00:00
John Maddock
324d889d26 Fix up linpack tests for __float128
[SVN r83716]
2013-04-02 18:11:35 +00:00
John Maddock
04b1c9e9f0 Initial commit of 128-bit float wrapper
[SVN r83713]
2013-04-02 17:26:48 +00:00
John Maddock
8eade71925 Merge fix for #8326, plus misc valgrind errors.
Refs #8326.

[SVN r83669]
2013-03-31 16:34:50 +00:00
John Maddock
cf85234a43 Update revision history, rebuild docs.
[SVN r83668]
2013-03-31 16:22:30 +00:00
John Maddock
ff1c93b043 Fix bug(s) that cause variable reuse in function calls to fail.
Add additional test cases.
Fixes #8326.

[SVN r83619]
2013-03-28 11:27:08 +00:00
John Maddock
b1a27b8c5c Fix valgrind errors
[SVN r83519]
2013-03-22 16:55:36 +00:00
John Maddock
61c2b5449f Merge changes from Trunk.
[SVN r83516]
2013-03-22 13:02:53 +00:00
Christopher Kormanyos
c221a74a3c Add unsigned priority mask and trivial cleanup.
[SVN r83479]
2013-03-17 19:13:24 +00:00
John Maddock
bc193d7add Fix GCC-4.6.x support which was broken in last commit. Refs #8292
[SVN r83459]
2013-03-16 12:00:01 +00:00
John Maddock
e5c96aada3 Add missing file, refs #8292
[SVN r83448]
2013-03-15 18:47:42 +00:00
John Maddock
3aeea98da5 Suppress some msvc warnings.
[SVN r83441]
2013-03-15 18:07:05 +00:00
John Maddock
6582c85fd8 Improve uBas integration to allow use of expression templates inside uBas templates.
Fixes #8292.

[SVN r83439]
2013-03-15 17:29:20 +00:00
Christopher Kormanyos
726b2ffc32 Proper copyright information + foundations for cpp_bin_float.
[SVN r83395]
2013-03-10 11:04:09 +00:00
John Maddock
d02def787b change adapter -> adaptor
[SVN r83359]
2013-03-08 11:51:32 +00:00
John Maddock
90bebe9ab4 Include config.hpp
[SVN r83358]
2013-03-08 11:46:52 +00:00
Christopher Kormanyos
81d0ea8776 Preliminary preparations for cpp_bin_float. Moved the rebind and dynamic_array structures from cpp_dec_float.hpp to separate files in /detail.
[SVN r83335]
2013-03-06 21:26:01 +00:00
John Maddock
2a4255861e Fix operators that operate on unary-negated expressions.
Suppress some MSVC specific warnings.
Fix some bugs exposed by above changes and add new test cases.
Fixes #8176.

[SVN r83227]
2013-03-01 13:15:56 +00:00
Christopher Kormanyos
d590f8baca Remove an unreachable code block from pow2(). Add an optimization to eval_ldexp().
[SVN r83207]
2013-02-28 19:58:21 +00:00
John Maddock
bea6a2bdfc Change boolean context conversion operator so it's not convertible to void*.
Fixes #8177.

[SVN r83162]
2013-02-26 12:43:14 +00:00
John Maddock
04e971893b Better fix for #8160.
Refs #8160.

[SVN r83153]
2013-02-25 16:32:59 +00:00
John Maddock
5245fd31e2 Fix bug in division of zero.
Document and add tests.
Fixes #8160.

[SVN r83128]
2013-02-24 13:20:46 +00:00
John Maddock
1ef61ef160 Fix bug in subtraction routine that leads to -0 rather than 0.
Add test cases.
Fixes #8145.

[SVN r83103]
2013-02-23 17:22:18 +00:00
John Maddock
4a43b9ef8e Fix bug in subtraction of a limb_type.
Fix bug in division/modulus algorithms that results in incorrect sign when source and destination overlap.
Tweak performance of GCD algorithms.
Add test cases for bug reports.
Fixes #8133.
Fixes #8126.

[SVN r83080]
2013-02-22 10:37:36 +00:00
John Maddock
3111e69084 Fix sign of division in cpp_int when the values are small enough to fit in a double_limb_type.
Add test cases for above.
Fixes #8126.

[SVN r83060]
2013-02-21 13:05:41 +00:00
John Maddock
b8f6ed0612 Change to use the unit test framework as the test exec monitor seems to be terminally broken.
[SVN r82944]
2013-02-17 08:59:46 +00:00
Christopher Kormanyos
fb748f698d Refs #8065
[SVN r82920]
2013-02-16 10:55:06 +00:00
John Maddock
869e98ac84 Fix raise_rounding_error to return the correct result (and type) when an error occurs.
Fixes #7905.

[SVN r82885]
2013-02-14 18:20:03 +00:00
John Maddock
14b230d251 Get rid of MSVC C4996 warnings.
Fixes #8036.

[SVN r82839]
2013-02-12 18:58:23 +00:00
John Maddock
1037731caa Fix cast to void
[SVN r82661]
2013-01-28 17:38:11 +00:00
John Maddock
5018162072 Reorder static assertions for better error messages.
[SVN r82610]
2013-01-25 17:45:03 +00:00
John Maddock
c5dee8ee69 Fix gcc build failures and warnings
[SVN r82604]
2013-01-25 12:49:55 +00:00
John Maddock
0411162f1f Update visualizers for cpp_dec_float.
[SVN r82532]
2013-01-18 13:36:51 +00:00
John Maddock
8ff620de3b Add debug_adaptor.hpp.
Document debug_adaptor and VC++ visualizers.

[SVN r82517]
2013-01-17 12:23:21 +00:00
John Maddock
2b901734b2 Big search and replace name change of adapter -> adaptor.
[SVN r82501]
2013-01-15 11:43:27 +00:00
John Maddock
0d4b3d4b02 Add logged adapter.
Add docs for logged_adapter and mpfi_float.

[SVN r82499]
2013-01-15 09:25:05 +00:00
John Maddock
688c1ab73c Fix bug in cpp_int division.
Update docs.
Refs #7878.

[SVN r82497]
2013-01-14 19:13:57 +00:00
John Maddock
97ba7d573f Fix bug that causes division by single limb to fail when the remainder is zero and the least significant limb of the quotient is 1.
Fixes #7878.

[SVN r82460]
2013-01-12 10:51:46 +00:00
John Maddock
97b0b495a4 Split test_arithmetic_mpfr_50.cpp into two tests for faster compiles / smaller memory usage.
[SVN r82431]
2013-01-10 11:25:15 +00:00
John Maddock
42458450be Add initial support for mpfi interval arithmetic
[SVN r82337]
2013-01-03 18:58:43 +00:00
John Maddock
5260e3fdb2 Merge bug fixes from Trunk:
Mostly correct typos as per https://svn.boost.org/trac/boost/ticket/7806
Also fix cpp_dec_float docs and add some static asserts to catch misuse.
Fix performance bottleneck in cpp_int's gcd implementation.

[SVN r82122]
2012-12-20 17:42:14 +00:00
John Maddock
27599ca09e Apply patch for typos.
Regenerate docs.
Fixes #7806.

[SVN r82073]
2012-12-18 11:28:04 +00:00
John Maddock
3f7e4906df Add static asserts on ExponentType requirements.
Document requirements better.
Regenerate docs.

[SVN r82046]
2012-12-17 13:11:01 +00:00