Commit Graph

65 Commits

Author SHA1 Message Date
jzmaddock
b35f1c8f61 Multiprecision.Integer conversions: Enforce uniform error handling when converting out-of-range narrowing integer conversions.
See https://svn.boost.org/trac10/ticket/13109
2017-12-30 09:34:35 +00:00
jzmaddock
472d5afc2a Add convert_to performance test. 2016-11-15 12:10:19 +00:00
jzmaddock
75dc2ebb33 Switch floating point types to be zero initialized when default constructed.
This is now consistent between types, and matches what explicitly initialized built in types do.
See https://svn.boost.org/trac/boost/ticket/12500.
2016-10-23 19:12:56 +01: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
cb1a41835f Use memmove for bitshifts when machine is little endian.
See https://svn.boost.org/trac/boost/ticket/9233.
2016-02-24 12:06:05 +00:00
jzmaddock
6f963e2f47 Add more build options 2015-11-24 19:11:00 +00:00
jzmaddock
1be19884f4 Change to use new gcd location. 2015-03-02 12:27:26 +00:00
jzmaddock
e7bbae7477 Fix multiple definitions that occur when using STLPort. 2015-03-02 12:27:05 +00:00
Cosmin Boaca
a0d7c9b7a6 Fixes compile error on ubuntu 12.04 boost 1.55 g++ 4.8.1 2014-03-04 22:47:44 +02: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
4a8d87954f Fix __float128 test case, update messages from LInpack benchmark.
[SVN r84219]
2013-05-10 12:19:14 +00:00
John Maddock
324d889d26 Fix up linpack tests for __float128
[SVN r83716]
2013-04-02 18:11:35 +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
f1830235bb Fix inspection report issues.
Regenerate docs.
Fix performance test Jamfile.

[SVN r81740]
2012-12-06 13:37:51 +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
672cd76754 Refactor test_arithmetic.cpp into lots of small files for reduced dependencies.
Changed use of __forceinline to release builds only.

[SVN r81654]
2012-12-01 16:19:23 +00:00
John Maddock
8ae04c68a6 Merge multiprecision from sandbox.
[SVN r81417]
2012-11-18 18:56:59 +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
e3deed1fdf Optimize cpp_int multiplication with precision extension.
Turn off some warnings.

[SVN r81200]
2012-11-05 12:36:25 +00:00
John Maddock
3080df73d9 Update MPFR docs with performance comparison.
[SVN r81146]
2012-11-02 13:07:39 +00:00
John Maddock
c587f1550b Update and regenerate docs.
Fix error in expression template unpacking that occasionally caused variable over-writes.
Update Math lib tests to test at least one non-ET type.

[SVN r81121]
2012-10-31 17:06:33 +00:00
John Maddock
6dfcc7e526 Big search and replace change of name for the ExpressionTemplates template parameter to class number.
[SVN r80418]
2012-09-06 09:50:47 +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
8807532ee4 Added explicit conversion operators.
Moved some files into /detail/

[SVN r79926]
2012-08-08 16:12:33 +00:00
John Maddock
821afe64fb Add uBlas interoperability tests.
Add file include tests.

[SVN r79894]
2012-08-07 08:10:07 +00:00
John Maddock
7a7a287def Fix C++11 compiler issues
[SVN r79861]
2012-08-04 10:59:56 +00:00
John Maddock
bb2ac1a969 Mark up some functions as being forced inline.
[SVN r79859]
2012-08-03 18:24:53 +00:00
John Maddock
7111ca4216 Fix buglets in performance test code.
Explain delaunay code digit usage better.

[SVN r79857]
2012-08-03 12:18:10 +00:00
John Maddock
2fb7c1a044 Fix Linux x64 C++0x build issues.
[SVN r79854]
2012-08-02 17:14:17 +00:00
John Maddock
8a54889f35 Update comparison operators for better efficiency.
Rework delaunay performance test to use less disk space.

[SVN r79848]
2012-08-02 12:27:00 +00:00
John Maddock
c79fb41526 Rework comparison operators - note that existing backends are made less efficient by this at present.
[SVN r79823]
2012-07-31 18:14:14 +00:00
John Maddock
36847e4e0b Add delaunay performance test case.
Rework rvalue reference support for better performance.
Rework default operators for better performance.

[SVN r79802]
2012-07-30 15:23:51 +00:00
John Maddock
64fe0089d3 Refactor concept checks for faster compilers.
Add constexpr construction test.

[SVN r79724]
2012-07-24 18:03:54 +00:00
John Maddock
281c667b71 Update frontend to allow direct construction of backend.
Improve construction times for cpp_int from integers.
Allow constexpr construction.
Allow fixed precision cpp_int's with small bit counts.

[SVN r79692]
2012-07-23 08:57:44 +00:00
John Maddock
08ee67ccc2 Fix some 64-bit compilation issues.
[SVN r79362]
2012-07-08 17:54:35 +00:00
John Maddock
ccf276db86 Add tentative noexcept support.
[SVN r79243]
2012-07-03 12:32:17 +00:00
John Maddock
2ea2ab8a2b Add better rvalue reference support to the non-expression template operators.
Add numeric_limits member definitions.

[SVN r79187]
2012-06-30 16:48:17 +00:00
John Maddock
e299171d07 Add performance test comparing double to mp_number<float_backend<double>>.
Fix typo in docs and regenerate.

[SVN r78811]
2012-06-05 10:40:56 +00:00
John Maddock
1b33ece7f8 Documentation update - address Marc Glisse's comments on the overview section.
[SVN r78806]
2012-06-04 15:25:22 +00:00
John Maddock
4a15673dd4 Update Jamfile to match new sf_performance.cpp code.
[SVN r77742]
2012-04-03 16:21:08 +00:00
John Maddock
3d3d58e040 Tidy up code, and add multi-threaded test case.
[SVN r77741]
2012-04-03 16:20:11 +00:00
John Maddock
8433c69175 Disable expression templates for fixed precision types.
Restrict integer functions to integer types.
Improve Miller Rabin performance by filtering out small primes etc.
Improve Miller Rabin tests.
Change mp_int to tom_int to avoid conflict with global ::mp_Int type.

[SVN r77471]
2012-03-22 10:29:30 +00:00
John Maddock
24cff33935 Update Miller Rabin test to use small prime filtering.
Add some new integer type operations.
Update performance tests to match.

[SVN r77451]
2012-03-21 09:19:57 +00:00
John Maddock
0f6a527cee Add random number support.
[SVN r77344]
2012-03-15 18:41:00 +00:00
John Maddock
d82fa61c81 Mostly remove references to fixed_int.
Update docs.

[SVN r77335]
2012-03-14 18:23:44 +00:00
John Maddock
b42208c5df Fix several division algorithm bugs.
Add cpp_rational to performance tests.
Add modular arithmetic test to test cases.

[SVN r77303]
2012-03-11 16:43:31 +00:00
John Maddock
5cf1ff427a Ooops committed too much in last commit, revert.
[SVN r77267]
2012-03-08 17:55:54 +00:00
John Maddock
2178bef843 Fix some bugs in division and addition code
[SVN r77266]
2012-03-08 17:54:28 +00:00
John Maddock
b680077687 enable 128-bit arithmetic on x64 systems.
[SVN r77265]
2012-03-08 16:56:32 +00:00
John Maddock
bea3707326 Add initial version of an arbitrary precision integer type.
Hook up some more fixed_int tests.

[SVN r77141]
2012-02-29 13:05:51 +00:00