196 Commits

Author SHA1 Message Date
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 a8c73aea66 Change non-member functions to be protected by enable_if based on the type of the number.
Extend expression templates to 4 arguments.
Add pow and powm functions for integer types.
Update docs to match.

[SVN r78401]
2012-05-10 09:20:26 +00:00
John Maddock 538415e0ef Correct wrong function-call argument in docs.
Change max_digits10 in numeric_limits<cpp_dec_float> to include all the *possible* digits.

[SVN r77996]
2012-04-15 17:46:42 +00:00
John Maddock 12fa743b47 Improve class index.
[SVN r77950]
2012-04-13 16:51:01 +00:00
John Maddock 5c9d22ae8e Commit revised docs.
[SVN r77949]
2012-04-13 15:40:50 +00:00
John Maddock d4a2c46ac6 Update examples, reorganise docs, temporarily remove HTML before rebuilding.
Enhance test cases, including enabling loopback testing on cpp_dec_float io.

[SVN r77948]
2012-04-13 15:38:28 +00:00
John Maddock 2b1f19fa2b Integrate Chris's FP examples into the docs.
[SVN r77851]
2012-04-09 16:58:30 +00:00
John Maddock d873049821 Update notes on comments.
[SVN r77760]
2012-04-04 17:14:00 +00:00
John Maddock 0488e551b9 Add extended floating point example.
[SVN r77746]
2012-04-03 18:20:35 +00:00
John Maddock 149af697bc Add log of comments.
[SVN r77743]
2012-04-03 16:22:27 +00:00
John Maddock c984b2eaa7 Add updated HTML docs.
[SVN r77652]
2012-03-30 18:35:38 +00:00
John Maddock 0e71a0c55e Documentation update, temporarily remove the HTML docs.
[SVN r77651]
2012-03-30 18:33:27 +00:00
John Maddock ada7aced0a Add links to arbitary precision definition.
[SVN r77608]
2012-03-28 17:53:35 +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 bb6393d69e Fix typos / issue spotted by Paul Bristow.
[SVN r77605]
2012-03-28 17:26:20 +00:00
John Maddock 4c6065717b Add a few more integer specific bit-fiddling functions.
Fix some bugs in cpp_int left shift code.
Document some missing backend API's, and update docs.

[SVN r77583]
2012-03-27 11:45:01 +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 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 7bed8d02f9 Add support for disabling expression templates via a second template parameter to mp_number.
Begin to update docs to reflect new cpp_int code.

[SVN r77323]
2012-03-13 18:30:18 +00:00
John Maddock 5caa15f798 Reorganisation: rename methods "eval_foo" rather than "foo" to avoid conflict with classes of the same name (GCC bug).
Move backends into sub-namespaces to avoid namespace pollution.

[SVN r77312]
2012-03-12 09:18:44 +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 4472a37b0e Update docs with latest performance results.
[SVN r76653]
2012-01-23 19:01:43 +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 5ada2d8169 Correct TODO list and regenerate docs.
[SVN r76131]
2011-12-24 13:14:17 +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 ebe14443af Update TODO list.
[SVN r76103]
2011-12-22 11:52:51 +00:00
John Maddock 7cd2ac78d6 Add roadmap and TODO list.
[SVN r75747]
2011-11-30 12:16:52 +00:00
John Maddock fdcc1a5034 Document libtommath support, add error checking to tommath bitwise operators.
[SVN r75746]
2011-11-30 12:08:59 +00:00
Paul A. Bristow bf4c85c584 Minor editorial corrections.
[SVN r75494]
2011-11-15 12:16:49 +00:00
John Maddock 0c413f7352 Change real_types to float_types.
[SVN r75489]
2011-11-14 13:39:10 +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 0c4dde52ee Get the rounding functions working and tested, update docs to match.
[SVN r75425]
2011-11-09 17:37:40 +00:00
John Maddock fb0acf6872 Add performance test comparison.
Update docs some more.
Remove dead code in mp_number.hpp.

[SVN r75324]
2011-11-05 18:22:18 +00:00
John Maddock 6e009f3029 Fix gcc warnings and errors.
Update docs.

[SVN r75284]
2011-11-03 11:06:05 +00:00
John Maddock 1c6577b5a6 Add conversion tests and update docs.
[SVN r75279]
2011-11-02 18:15:00 +00:00
John Maddock e97c76f66f Add interconversions between GMP types.
Updates docs.
Add numerator and denominator methods for rational numbers.

[SVN r75232]
2011-11-01 19:14:08 +00:00
John Maddock 9092a7b150 Remove old docs.
[SVN r75195]
2011-10-31 16:01:10 +00:00
John Maddock 401af0322a File rename
[SVN r75194]
2011-10-31 16:00:21 +00:00
John Maddock 73960e2a46 Giant file and directory rename: changed directory name from math to multiprecision and updated code to match.
[SVN r74579]
2011-09-26 17:00:44 +00:00