Commit Graph

1243 Commits

Author SHA1 Message Date
John Maddock
f09ead8e37 Some file renaming and fixes from Steven Watanabe's comments.
[SVN r79141]
2012-06-27 18:25:10 +00:00
Christopher Kormanyos
a6a4ff0c5e Improve the pow_imp function with the S-and-X binary method (Knuth, Vol 2, 4.6.3).
[SVN r79092]
2012-06-25 21:17:27 +00:00
John Maddock
ea4ff852c6 Fix valgrind spotted bug in cpp_int subtraction routine.
Add missing numeric_limits members.
Fix GCC warning in gmp.hpp.

[SVN r78953]
2012-06-15 09:10:47 +00:00
John Maddock
e0a8f821c5 Change BOOST_MP_NOEXCEPT to BOOST_NOEXCEPT.
Add some missing #includes.

[SVN r78943]
2012-06-14 10:26:15 +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
Vicente J. Botet Escriba
cd741c1249 Multiprecision: added error log
[SVN r78803]
2012-06-03 20:51:41 +00:00
John Maddock
ebd7502fdc Enhance pow and powm tests.
Quash some warnings.
Fix the IO tests on GCC.

[SVN r78423]
2012-05-11 17:19:13 +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
Christopher Kormanyos
62c5ef6ca0 Switched erroneous use of old enum_fpclass to correct new fpclass_type.
[SVN r78363]
2012-05-06 20:42:55 +00:00
John Maddock
d2bc0f90f7 Change non-member functions to use enable_if so they're restricted to the number type to which they apply (better error messages). Enhance concept checks to check things which weren't previously tested.
[SVN r78321]
2012-05-04 08:20:33 +00:00
Christopher Kormanyos
0279459351 Ensure that potentially truncated digit counts in cpp_dec_float are properly used.
[SVN r78105]
2012-04-20 23:17:48 +00:00
Christopher Kormanyos
1011377735 - Added generic examples LaTeX source documentation.
[SVN r78102]
2012-04-20 20:48:32 +00:00
Christopher Kormanyos
9ee0022c77 Re-factor cpp_dec_float class constants.
Extend cpp_dec_float low-digit range from 30 to 9.
Removed temporary storage from cpp_dec_float multiply routine.
Extended tests to 9, 18 and (sqrt test) to 1000 digits.

[SVN r78097]
2012-04-20 20:05:49 +00:00
John Maddock
b6d6d5ea01 Fix __int128 selection logic
[SVN r78034]
2012-04-17 09:20:47 +00:00
John Maddock
1f15fc5ad9 Deleted some dead files, moved some others around.
[SVN r78014]
2012-04-16 16:28:57 +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
Christopher Kormanyos
a53f4f3fee - Re-factor constants in cpp_dec_float.hpp.
- Tighten up tolerance on multiply, do trivial cleanup in cpp_dec_float.
- Change digit progression in iteration in sqrt and atan.

[SVN r77983]
2012-04-15 09:27:55 +00:00
John Maddock
462bec3925 Fix ldexp/frexp in default_ops.hpp. Improve 64-bit platform detection in cpp_int_core.hpp. Get examples building with GCC
[SVN r77971]
2012-04-14 16:51:02 +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
Christopher Kormanyos
43a86370a5 Added examples of generic numeric programming using built-in and MP types.
[SVN r77794]
2012-04-06 22:09:09 +00:00
John Maddock
b424123c9d Fix GCC compile failure
[SVN r77783]
2012-04-05 17:20:50 +00:00
John Maddock
426430a233 Fix MPFR error rates on Linux x86 64
[SVN r77782]
2012-04-05 17:19:57 +00:00
John Maddock
cd398028e8 Add static assert to protect multiplication algorithm from excessive limb counts.
[SVN r77775]
2012-04-05 08:22:20 +00:00
John Maddock
19113e841a Correct logic to detect when string representation has enough bits.
[SVN r77774]
2012-04-05 07:54:09 +00:00
John Maddock
d873049821 Update notes on comments.
[SVN r77760]
2012-04-04 17:14:00 +00:00
John Maddock
d98d1ccf7d Change max_digits10 to allow some headroom for subsequent calculations.
[SVN r77759]
2012-04-04 17:10:39 +00:00
John Maddock
68a4a87438 Add string versions of constants for faster (and more accurate) constant initialization.
[SVN r77758]
2012-04-04 17:04: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
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
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
3913771ea0 Change cpp_dec_float string conversion to generate a better error message when conversion fails.
Add generic inter-conversions and tests for them.
Fix bug in cpp_int convert_to.

[SVN r77630]
2012-03-29 18:00:06 +00:00
John Maddock
4397548816 Extend examples using Paul Bristow's comments.
[SVN r77626]
2012-03-29 12:28:31 +00:00
John Maddock
0cc1c727d8 Squash some more MSVC level 4 warnings.
[SVN r77625]
2012-03-29 12:28:16 +00:00
John Maddock
ec3cf57c91 Add licence and copyright.
[SVN r77624]
2012-03-29 12:15:05 +00:00
John Maddock
ead32b9563 Squash some MSVC level 4 compiler warnings.
[SVN r77623]
2012-03-29 09:12:08 +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
1cfbf792a3 Fix comment.
[SVN r77606]
2012-03-28 17:35:38 +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