John Maddock
3ae83df777
Update float128 docs.
...
[SVN r85356]
2013-08-15 11:55:21 +00:00
John Maddock
af494a898b
Add support for integer square roots.
...
[SVN r85184]
2013-08-01 17:50:17 +00:00
John Maddock
34c4edb35a
Document msb function.
...
Add docs for integer overloads of multiprecision non-member operations.
Regenerate docs.
[SVN r84981]
2013-07-08 12:35:22 +00:00
John Maddock
a90c5af5ae
Update history and regenerate docs.
...
[SVN r84939]
2013-07-02 09:29:23 +00:00
John Maddock
d9d57d3b02
Update change history, regenerate docs.
...
[SVN r84797]
2013-06-15 16:58:25 +00:00
John Maddock
3ee4005731
Fix typos.
...
[SVN r84535]
2013-05-28 07:54:58 +00:00
John Maddock
567f0604af
Update doc history, regenerate.
...
[SVN r84297]
2013-05-16 12:11:54 +00:00
John Maddock
5bb72becad
Add docs for user-defined literals.
...
Regenerate docs.
[SVN r84235]
2013-05-11 16:12:47 +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
cf85234a43
Update revision history, rebuild docs.
...
[SVN r83668]
2013-03-31 16:22:30 +00:00
John Maddock
d02def787b
change adapter -> adaptor
...
[SVN r83359]
2013-03-08 11:51:32 +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
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
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
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
John Maddock
08fdb31fa2
Add some optimisation to gcd/lcm/lsb and cpp_int:
...
Use compiler intrinsics where possible for lsb.
Switch to using native integers when the values get small enough for gcd.
Re-run the performance tests and regenerate the docs.
Also change the series evaluation limits to make them depend on the precision in pow.hpp and trig.hpp.
[SVN r81946]
2012-12-14 18:37: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
2ead55dafc
Fix PDF generation.
...
[SVN r81555]
2012-11-26 17:05:42 +00:00
John Maddock
9d16324b79
Tweak docs and regenerate.
...
Fix doc Jamfile.
Add redirect index.html.
[SVN r81553]
2012-11-26 16:59:39 +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
3430188795
Add overloads of the integer-only functions which work with native integer types.
...
Ensure powm promotes fixed precision types to avoid numeric overflow.
Allow the Miller-Rabin code to be used by native integers.
Fix Miller Rabin tests to actually return the test result!
Fix some bugs in cpp_int unsigned arithmetic, and ensure the Miller Rabin and random number code can be safely used with checked fixed precision integers.
[SVN r81269]
2012-11-09 18:55:19 +00:00
John Maddock
da40611f57
Fix mpfr_float_backend interconversions.
...
Update docs and regenerate.
[SVN r81163]
2012-11-03 18:27:11 +00:00
John Maddock
3080df73d9
Update MPFR docs with performance comparison.
...
[SVN r81146]
2012-11-02 13:07:39 +00:00
John Maddock
b640732abd
Add additional template parameter to mpfr_float_backend to allow stack-based floats.
...
[SVN r81135]
2012-11-01 19:01:08 +00:00
John Maddock
d1336b5f63
More doc updates.
...
Regenerate docs.
[SVN r81133]
2012-11-01 11:19:59 +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
4f2738fd6f
Add traits class to determine default ExpressionTemplate parameter value.
...
Add support for fused-multiply-add/subtract.
Optimise temporary usage when the LHS also appears on the RHS.
[SVN r80607]
2012-09-20 16:04:02 +00:00
John Maddock
dd7ee60431
Fix GCC C++11 mode failures.
...
Tidy up TODO list.
[SVN r80577]
2012-09-18 16:47:03 +00:00
John Maddock
9f8b30fcdf
Update docs with review comments.
...
Update a few tests based on review comments.
Regenerate docs.
[SVN r80539]
2012-09-16 12:25:14 +00:00
John Maddock
fc1cda1f62
Largely cosmetic change - add two new template params to cpp_dec_float - one for the exponent type, and one for an optional allocator.
...
[SVN r80431]
2012-09-07 08:31:49 +00:00
John Maddock
a2c8fc060f
Rebuild docs.
...
[SVN r80419]
2012-09-06 09:52:28 +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
9edbdc0ca4
Enable optimisations in the GMP and MPFR backends for mixed mode arithmetic.
...
Allow mixed arithmetic between two different expression templates.
Change docs to indicate mixed arithmetic is allowed and rebuild.
[SVN r80397]
2012-09-04 17:18:18 +00:00
John Maddock
c7230f94ff
Extra test cases for more complete coverage.
...
Added test coverage makefile.
Fixed errors from extra test cases.
Rename a few traits.
[SVN r80328]
2012-08-31 11:57:55 +00:00
John Maddock
1e00790703
Rename mp_number_archetype.
...
Update docs with explicit conversion info.
Regenerate docs.
[SVN r80261]
2012-08-27 12:30:53 +00:00
John Maddock
6fe80f07de
Much improved concept docs.
...
Regenerate docs.
Make some cpp_int specific routines generic instead.
Changed divide-by-zero to be an overflow error.
[SVN r79952]
2012-08-10 08:37:37 +00:00
John Maddock
6f317ee809
Rebuild docs.
...
[SVN r79933]
2012-08-08 18:25:27 +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
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
19ee491c55
Add noexcept support/markup where possible.
...
[SVN r79331]
2012-07-07 11:16:28 +00:00
John Maddock
f09ead8e37
Some file renaming and fixes from Steven Watanabe's comments.
...
[SVN r79141]
2012-06-27 18:25:10 +00:00
John Maddock
5ce96a1459
Fix some doc typos and regenerate docs.
...
[SVN r78843]
2012-06-07 10:06:56 +00:00
John Maddock
3fc6a3f67c
Update TODO list.
...
[SVN r78815]
2012-06-05 17:19:56 +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
f543ec2639
Address doc concerns of Vincente Botet Escriba in pre-review comments.
...
Rebuild docs.
[SVN r78807]
2012-06-04 17:50:57 +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
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