John Maddock
4397548816
Extend examples using Paul Bristow's comments.
...
[SVN r77626]
2012-03-29 12:28:31 +00:00
John Maddock
e47eee1e5e
Update floating point examples to show Boost.Math usage.
...
[SVN r77607]
2012-03-28 17:47:41 +00:00
John Maddock
1cfbf792a3
Fix comment.
...
[SVN r77606]
2012-03-28 17:35:38 +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
6deafa525b
Fix bug in cpp_int shown up by random number generations and change example to use it.
...
[SVN r77359]
2012-03-17 13:23:32 +00:00
John Maddock
45a08da90e
Add simple version of the Miller Rabin test
...
[SVN r77353]
2012-03-17 09:18:20 +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
e1b23af8f5
Add files missing from last commit, and add new examples to tests.
...
[SVN r77324]
2012-03-13 18:40:52 +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
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
d7578f242c
Add numerator/denominator accessor functions to rational_adapter.hpp.
...
Define predefined rational number type for libtommath.
Add rational number specific tests to test_arithmetic.cpp.
Document rational_adapter and related stuff, regenerate docs.
[SVN r76130]
2011-12-24 13:13:16 +00:00
John Maddock
f5eb2f330b
Update docs, rename remaining occurrences of mp_float.
...
[SVN r75487]
2011-11-14 12:41:15 +00:00
John Maddock
c8eda6845e
Search and replace - rename mp_float cpp_float.
...
[SVN r75453]
2011-11-12 13:15:33 +00:00
John Maddock
6e009f3029
Fix gcc warnings and errors.
...
Update docs.
[SVN r75284]
2011-11-03 11:06:05 +00:00