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
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
1be19884f4
Change to use new gcd location.
2015-03-02 12:27:26 +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
2b901734b2
Big search and replace name change of adapter -> adaptor.
...
[SVN r82501]
2013-01-15 11:43:27 +00:00
John Maddock
8ae04c68a6
Merge multiprecision from sandbox.
...
[SVN r81417]
2012-11-18 18:56:59 +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
7a7a287def
Fix C++11 compiler issues
...
[SVN r79861]
2012-08-04 10:59:56 +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
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
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
John Maddock
8d6dedf4b0
Complete renaming of cpp_float to cpp_dec_float.
...
Rebuild docs.
[SVN r77037]
2012-02-16 09:36:26 +00:00
John Maddock
380d627359
Big search and replace: change cpp_float to cpp_dec_float.
...
Also fix up some numeric_limits test failures.
[SVN r77032]
2012-02-15 13:09:45 +00:00
John Maddock
d69424adad
Fix bug in fixed_int::convert_to with negative numbers.
...
Fix bug in fixed_int shift operator when shifting by 0.
Add preliminary gcd/lcm support for integer types.
Add static asserts to floating-point only functions.
[SVN r76706]
2012-01-26 10:11:10 +00:00
John Maddock
4b844fc60c
Improve performance of fixed_int divide and string conversion.
...
Add mixed integer ops to fixed_int.
Improve fixed_int test cases.
Add improved default forwarding functions that preserve arithmetic type arguments.
Fix some operator overloads.
Update performance tests.
[SVN r76639]
2012-01-22 19:12:37 +00:00
John Maddock
c98f15f30d
Update docs with performance results.
...
Add component based initialization of rationals.
[SVN r76486]
2012-01-14 13:24:52 +00:00
John Maddock
a97c3bd896
Update docs to include fixed_int.hpp.
...
Remove 64-bit versions of fixed_int typedefs - better to use boost::int64_t instead.
[SVN r76433]
2012-01-12 13:56:22 +00:00
John Maddock
db83a1c4ad
Tentative rename of packed_cpp_int to fixed_int.
...
[SVN r76428]
2012-01-12 11:55:09 +00:00
John Maddock
8c28b89dfc
Fix GCC failures and generally improve performance of packed_cpp_int.
...
[SVN r76409]
2012-01-11 11:53:49 +00:00
John Maddock
8dec0e4db6
Add initial performance test program for testing basic arithmetic.
...
Fix header include on packed_cpp_int.hpp and add numeric_limits min/max values.
[SVN r76279]
2012-01-02 17:45:49 +00:00