Commit Graph

178 Commits

Author SHA1 Message Date
jzmaddock
2fd81f6fa0 Update docs for modf support. 2016-08-04 18:21:37 +01:00
jzmaddock
8f5e26f921 Update history. 2016-06-10 18:28:26 +01:00
jzmaddock
728b26e075 Document hash function support and add an example. 2016-05-01 18:58:19 +01:00
jzmaddock
f6b5797661 Update history. 2016-04-12 19:00:01 +01:00
jzmaddock
8a8b2211d4 Change cpp_bin_float.convert_to<>() conversion routine to avoid double-rounding.
See https://svn.boost.org/trac/boost/ticket/12039.
2016-03-15 08:15:35 +00:00
jzmaddock
e917e72725 Update history, and document bug fixes. 2016-02-26 13:00:15 +00:00
jzmaddock
95b8a52108 Update history. 2015-12-22 18:32:20 +00:00
jzmaddock
ff3f04ef2e Document changes for this release. 2015-12-08 19:09:54 +00:00
jzmaddock
390d46de9e Merge branch 'develop'
Conflicts:
	doc/html/boost_multiprecision/indexes/s01.html
	doc/html/boost_multiprecision/indexes/s02.html
	doc/html/boost_multiprecision/indexes/s03.html
	doc/html/boost_multiprecision/indexes/s04.html
	doc/html/boost_multiprecision/map/hist.html
	doc/html/index.html
	doc/multiprecision.qbk
	include/boost/multiprecision/cpp_bin_float.hpp
	include/boost/multiprecision/cpp_int.hpp
	test/test_cpp_int.cpp

Resolved so as to make master and develop the same.
2015-10-18 12:05:14 +01:00
jzmaddock
d78767ef95 Add cpp_int import/export code.
See: https://svn.boost.org/trac/boost/ticket/11590.
2015-09-20 08:45:03 +01:00
pabristow
893a4d77d7 changed cpp_dec to cpp_bin 2015-07-25 09:36:34 +01:00
pabristow
75dc0e3c9c Rewrite of max_digits10 section. 2015-07-24 17:59:40 +01:00
jzmaddock
4558e574d1 Bring docs into line with code, regenerate HTML. 2015-07-20 13:04:54 +01:00
jzmaddock
d188b541f1 Update history.
Conflicts:
	doc/html/boost_multiprecision/indexes/s01.html
	doc/html/boost_multiprecision/indexes/s02.html
	doc/html/boost_multiprecision/indexes/s03.html
	doc/html/boost_multiprecision/indexes/s04.html
	doc/html/boost_multiprecision/map/hist.html
	doc/html/index.html
2015-07-19 19:12:47 +01:00
jzmaddock
26a7d613f7 Update history
Conflicts:
	doc/multiprecision.qbk
2015-07-19 19:10:55 +01:00
jzmaddock
9f446081f9 Update history. 2015-06-18 10:50:27 +01:00
jzmaddock
db6a5ed8d4 Update history 2015-05-31 09:17:43 +01:00
jzmaddock
93d9d00c85 Fix doc typo in history. 2015-03-20 18:45:29 +00:00
jzmaddock
fdc57e94d8 Update history. 2015-03-15 18:29:05 +00:00
jzmaddock
b2f92096f6 Update documentation to reflect new random number support from Boost.Random. 2015-03-15 18:24:40 +00:00
jzmaddock
6d0c3cf823 Update history, regen docs. 2015-02-22 13:15:19 +00:00
jzmaddock
6e7fe09031 Update history. 2014-10-17 18:55:29 +01:00
jzmaddock
3279aa35aa Fix typos, see: https://svn.boost.org/trac/boost/ticket/10649 2014-10-11 18:10:55 +01:00
jzmaddock
4088617e7f Merge branch 'Issue_10085' into develop
Resolved conflicts:
	doc/html/index.html
	doc/multiprecision.qbk

Remove already done items from TODO list.
2014-06-30 13:28:26 +01:00
jzmaddock
64bba8a779 Fix missing indexes. 2014-06-30 13:18:24 +01:00
jzmaddock
b80df41452 Fix link in history. 2014-06-30 12:59:04 +01:00
jzmaddock
f4d7833e82 Update docs. 2014-06-30 12:47:44 +01:00
jzmaddock
296a95a1a2 Merge branch 'develop' into Issue_10085 2014-06-30 11:53:31 +01:00
jzmaddock
6764235eb5 Update history. 2014-06-30 11:47:03 +01:00
jzmaddock
9f9394940a Add scalbn, ilogb, logb and tests and docs. 2014-06-17 08:53:54 +01:00
jzmaddock
6995b5d248 Update doc history. 2014-06-07 09:34:17 +01:00
jzmaddock
0481ca18ec Change floating point to rational number conversions to be implicit as per https://svn.boost.org/trac/boost/ticket/10082. 2014-06-01 18:43:16 +01:00
jzmaddock
638362121a Doc update. 2014-05-23 12:17:28 +01:00
jzmaddock
b9544a6964 Merge pull request #5 from AntonBikineev/develop
modified:   doc/multiprecision.qbk
2014-04-06 09:30:53 +01:00
AntonBikineev
f041880d93 modified: doc/multiprecision.qbk 2014-04-06 04:11:14 +04:00
jzmaddock
d019fef13f Fix for issue https://svn.boost.org/trac/boost/ticket/9645.
Regenerate docs.
2014-03-11 17:20:31 +00:00
jzmaddock
5302b484a4 Add serialization support to cpp_bin_float and document. 2013-12-22 13:35:56 +00:00
jzmaddock
f9a4e93a5d Update history and regenerate docs. 2013-12-21 17:00:43 +00:00
jzmaddock
91491e60c0 Apply typo fixes from https://svn.boost.org/trac/boost/ticket/9432 2013-12-21 16:34:38 +00: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
9b526498b5 Fix history and regenerate docs.
[SVN r86083]
2013-09-30 17:53:03 +00:00
John Maddock
75c79d7cae Update revision log and add serialization support docs.
[SVN r85700]
2013-09-16 15:36:49 +00:00
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
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
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
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
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
bb6393d69e Fix typos / issue spotted by Paul Bristow.
[SVN r77605]
2012-03-28 17:26:20 +00:00