82409d86a0Minor changes for __int128 support and fix some C++0x issues
John Maddock
2012-10-25 09:29:04 +0000
a857186cb4Big "blow it away and start again" refactoring of cpp_int. Adds support for runtime checking, enumerated template params, fixed precision with allocator, and no "hidden" template parameters.
John Maddock
2012-10-24 16:00:05 +0000
5256e108a1Fix Intel -x64 failures.
John Maddock
2012-09-20 18:21:07 +0000
4f2738fd6fAdd 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.
John Maddock
2012-09-20 16:04:02 +0000
741f98585dRemove dead code.
John Maddock
2012-09-18 17:02:45 +0000
dd7ee60431Fix GCC C++11 mode failures. Tidy up TODO list.
John Maddock
2012-09-18 16:47:03 +0000
9f8b30fcdfUpdate docs with review comments. Update a few tests based on review comments. Regenerate docs.
John Maddock
2012-09-16 12:25:14 +0000
fc1cda1f62Largely cosmetic change - add two new template params to cpp_dec_float - one for the exponent type, and one for an optional allocator.
John Maddock
2012-09-07 08:31:49 +0000
a2c8fc060fRebuild docs.
John Maddock
2012-09-06 09:52:28 +0000
6dfcc7e526Big search and replace change of name for the ExpressionTemplates template parameter to class number.
John Maddock
2012-09-06 09:50:47 +0000
d561dfe50bAllow mixed precision arithmetic in the cpp_int backend.
John Maddock
2012-09-05 16:46:54 +0000
9edbdc0ca4Enable 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.
John Maddock
2012-09-04 17:18:18 +0000
ce3354335cAllow mixed precision binary operations. Add tests for basic mixed precision usage.
John Maddock
2012-09-04 08:20:26 +0000
c7230f94ffExtra test cases for more complete coverage. Added test coverage makefile. Fixed errors from extra test cases. Rename a few traits.
John Maddock
2012-08-31 11:57:55 +0000
1e00790703Rename mp_number_archetype. Update docs with explicit conversion info. Regenerate docs.
John Maddock
2012-08-27 12:30:53 +0000
6e58c919a6Delete dead code.
John Maddock
2012-08-27 09:51:35 +0000
944b0439a7Fix explicit conversion operators for GCC-4.6.x
John Maddock
2012-08-26 16:46:44 +0000
d9901b5144Fix remaining GCC C++11 failures. Fix buggy test cases.
John Maddock
2012-08-24 11:08:44 +0000
145fa2cdd4Inching closer to getting GCC to compile the tests again...
John Maddock
2012-08-23 11:24:33 +0000
6157674972Fix rational_adapter's implicit/explicit constructors. Add converting constructors for trivial cpp_int's and test. Both fix GCC errors.
John Maddock
2012-08-21 18:17:57 +0000
9d5a0bc87aFix a few GCC warnings and errors
John Maddock
2012-08-21 16:24:05 +0000
d609434125Add missing files, fix the worst of the GCC build failures.
John Maddock
2012-08-21 15:47:32 +0000
af9e0c2fe7Add more explicit constructors and tests for them. Centralise digits10 to digits2 conversions.
John Maddock
2012-08-21 14:42:15 +0000
1f35bfe581Make some gmp constructors explicit. Add tests to verify that explicit conversions fail. Fix failures inside number.hpp.
John Maddock
2012-08-19 16:39:24 +0000
b892e3f5abBig breaking change - make lossy construction explicit.
John Maddock
2012-08-16 08:13:51 +0000
6fe80f07deMuch improved concept docs. Regenerate docs. Make some cpp_int specific routines generic instead. Changed divide-by-zero to be an overflow error.
John Maddock
2012-08-10 08:37:37 +0000
6f317ee809Rebuild docs.
John Maddock
2012-08-08 18:25:27 +0000
e2ef393c23Big search and replace rename, removing mp_ prefix.
John Maddock
2012-08-08 18:14:50 +0000
8807532ee4Added explicit conversion operators. Moved some files into /detail/
John Maddock
2012-08-08 16:12:33 +0000
3bcbb056e7Add better error checking for moved-from types.
John Maddock
2012-08-07 17:55:32 +0000
c8c3610cdcFix uBlas tests and failures resulting from them.
John Maddock
2012-08-07 11:47:25 +0000
821afe64fbAdd uBlas interoperability tests. Add file include tests.
John Maddock
2012-08-07 08:10:07 +0000
7a7a287defFix C++11 compiler issues
John Maddock
2012-08-04 10:59:56 +0000
bb2ac1a969Mark up some functions as being forced inline.
John Maddock
2012-08-03 18:24:53 +0000
7111ca4216Fix buglets in performance test code. Explain delaunay code digit usage better.
John Maddock
2012-08-03 12:18:10 +0000
2fb7c1a044Fix Linux x64 C++0x build issues.
John Maddock
2012-08-02 17:14:17 +0000
8a54889f35Update comparison operators for better efficiency. Rework delaunay performance test to use less disk space.
John Maddock
2012-08-02 12:27:00 +0000
c79fb41526Rework comparison operators - note that existing backends are made less efficient by this at present.
John Maddock
2012-07-31 18:14:14 +0000
5711748ee1Fix misc bugs introduced in last commit.
John Maddock
2012-07-30 17:51:47 +0000
36847e4e0bAdd delaunay performance test case. Rework rvalue reference support for better performance. Rework default operators for better performance.
John Maddock
2012-07-30 15:23:51 +0000
64fe0089d3Refactor concept checks for faster compilers. Add constexpr construction test.
John Maddock
2012-07-24 18:03:54 +0000
7b353cb296Fix Linux x64 failures.
John Maddock
2012-07-23 17:47:44 +0000
281c667b71Update 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.
John Maddock
2012-07-23 08:57:44 +0000
08ee67ccc2Fix some 64-bit compilation issues.
John Maddock
2012-07-08 17:54:35 +0000
19ee491c55Add noexcept support/markup where possible.
John Maddock
2012-07-07 11:16:28 +0000
f4a922e325Fix some asserts and comments, plus one C++11 issue.
John Maddock
2012-07-03 18:18:08 +0000
ccf276db86Add tentative noexcept support.
John Maddock
2012-07-03 12:32:17 +0000
26905dc5eaFix non ET operators to return by value (not rvalue refs as that's unsafe - thanks to Howard Hinnant for the test case). Fix move constructors to actually move! Add move test case. Add better move support throughout the lib.
John Maddock
2012-07-02 08:08:28 +0000
2ea2ab8a2bAdd better rvalue reference support to the non-expression template operators. Add numeric_limits member definitions.
John Maddock
2012-06-30 16:48:17 +0000
1a4e3af5c8Fix Linux x64 errors
John Maddock
2012-06-29 11:53:25 +0000
f09ead8e37Some file renaming and fixes from Steven Watanabe's comments.
John Maddock
2012-06-27 18:25:10 +0000
a6a4ff0c5eImprove the pow_imp function with the S-and-X binary method (Knuth, Vol 2, 4.6.3).
Christopher Kormanyos
2012-06-25 21:17:27 +0000
ea4ff852c6Fix valgrind spotted bug in cpp_int subtraction routine. Add missing numeric_limits members. Fix GCC warning in gmp.hpp.
John Maddock
2012-06-15 09:10:47 +0000
e0a8f821c5Change BOOST_MP_NOEXCEPT to BOOST_NOEXCEPT. Add some missing #includes.
John Maddock
2012-06-14 10:26:15 +0000
5ce96a1459Fix some doc typos and regenerate docs.
John Maddock
2012-06-07 10:06:56 +0000
3fc6a3f67cUpdate TODO list.
John Maddock
2012-06-05 17:19:56 +0000
e299171d07Add performance test comparing double to mp_number<float_backend<double>>. Fix typo in docs and regenerate.
John Maddock
2012-06-05 10:40:56 +0000
f543ec2639Address doc concerns of Vincente Botet Escriba in pre-review comments. Rebuild docs.
John Maddock
2012-06-04 17:50:57 +0000
1b33ece7f8Documentation update - address Marc Glisse's comments on the overview section.
John Maddock
2012-06-04 15:25:22 +0000
ebd7502fdcEnhance pow and powm tests. Quash some warnings. Fix the IO tests on GCC.
John Maddock
2012-05-11 17:19:13 +0000
a8c73aea66Change 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.
John Maddock
2012-05-10 09:20:26 +0000
62c5ef6ca0Switched erroneous use of old enum_fpclass to correct new fpclass_type.
Christopher Kormanyos
2012-05-06 20:42:55 +0000
d2bc0f90f7Change 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.
John Maddock
2012-05-04 08:20:33 +0000
0279459351Ensure that potentially truncated digit counts in cpp_dec_float are properly used.
Christopher Kormanyos
2012-04-20 23:17:48 +0000
9ee0022c77Re-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.
Christopher Kormanyos
2012-04-20 20:05:49 +0000
b6d6d5ea01Fix __int128 selection logic
John Maddock
2012-04-17 09:20:47 +0000
1f15fc5ad9Deleted some dead files, moved some others around.
John Maddock
2012-04-16 16:28:57 +0000
538415e0efCorrect wrong function-call argument in docs. Change max_digits10 in numeric_limits<cpp_dec_float> to include all the *possible* digits.
John Maddock
2012-04-15 17:46:42 +0000
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.
Christopher Kormanyos
2012-04-15 09:27:55 +0000
462bec3925Fix ldexp/frexp in default_ops.hpp. Improve 64-bit platform detection in cpp_int_core.hpp. Get examples building with GCC
John Maddock
2012-04-14 16:51:02 +0000
12fa743b47Improve class index.
John Maddock
2012-04-13 16:51:01 +0000
5c9d22ae8eCommit revised docs.
John Maddock
2012-04-13 15:40:50 +0000
d4a2c46ac6Update examples, reorganise docs, temporarily remove HTML before rebuilding. Enhance test cases, including enabling loopback testing on cpp_dec_float io.
John Maddock
2012-04-13 15:38:28 +0000
2b1f19fa2bIntegrate Chris's FP examples into the docs.
John Maddock
2012-04-09 16:58:30 +0000
43a86370a5Added examples of generic numeric programming using built-in and MP types.
Christopher Kormanyos
2012-04-06 22:09:09 +0000
b424123c9dFix GCC compile failure
John Maddock
2012-04-05 17:20:50 +0000
426430a233Fix MPFR error rates on Linux x86 64
John Maddock
2012-04-05 17:19:57 +0000
cd398028e8Add static assert to protect multiplication algorithm from excessive limb counts.
John Maddock
2012-04-05 08:22:20 +0000
19113e841aCorrect logic to detect when string representation has enough bits.
John Maddock
2012-04-05 07:54:09 +0000
d873049821Update notes on comments.
John Maddock
2012-04-04 17:14:00 +0000
d98d1ccf7dChange max_digits10 to allow some headroom for subsequent calculations.
John Maddock
2012-04-04 17:10:39 +0000
68a4a87438Add string versions of constants for faster (and more accurate) constant initialization.
John Maddock
2012-04-04 17:04:00 +0000
0488e551b9Add extended floating point example.
John Maddock
2012-04-03 18:20:35 +0000
149af697bcAdd log of comments.
John Maddock
2012-04-03 16:22:27 +0000
4a15673dd4Update Jamfile to match new sf_performance.cpp code.
John Maddock
2012-04-03 16:21:08 +0000
3d3d58e040Tidy up code, and add multi-threaded test case.
John Maddock
2012-04-03 16:20:11 +0000
c984b2eaa7Add updated HTML docs.
John Maddock
2012-03-30 18:35:38 +0000
0e71a0c55eDocumentation update, temporarily remove the HTML docs.
John Maddock
2012-03-30 18:33:27 +0000
3913771ea0Change 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.
John Maddock
2012-03-29 18:00:06 +0000
4397548816Extend examples using Paul Bristow's comments.
John Maddock
2012-03-29 12:28:31 +0000
0cc1c727d8Squash some more MSVC level 4 warnings.
John Maddock
2012-03-29 12:28:16 +0000
ec3cf57c91Add licence and copyright.
John Maddock
2012-03-29 12:15:05 +0000
ead32b9563Squash some MSVC level 4 compiler warnings.
John Maddock
2012-03-29 09:12:08 +0000
ada7aced0aAdd links to arbitary precision definition.
John Maddock
2012-03-28 17:53:35 +0000
e47eee1e5eUpdate floating point examples to show Boost.Math usage.
John Maddock
2012-03-28 17:47:41 +0000
1cfbf792a3Fix comment.
John Maddock
2012-03-28 17:35:38 +0000
bb6393d69eFix typos / issue spotted by Paul Bristow.
John Maddock
2012-03-28 17:26:20 +0000
4c6065717bAdd 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.
John Maddock
2012-03-27 11:45:01 +0000