366ec67ddcFix GCC Random number and Miller Rabin build errors.
John Maddock
2012-03-22 17:32:43 +0000
f657a2fd59Remove dead statement
John Maddock
2012-03-22 13:27:12 +0000
6ead744223Fix fixed precision ints to work with non obvious bit counts.
John Maddock
2012-03-22 11:54:15 +0000
8433c69175Disable 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.
John Maddock
2012-03-22 10:29:30 +0000
24cff33935Update Miller Rabin test to use small prime filtering. Add some new integer type operations. Update performance tests to match.
John Maddock
2012-03-21 09:19:57 +0000
2349943cdbFix some GMP int errors, and simplify modulus code. Fix some cpp_int errors. Improve cpp_int tests.
John Maddock
2012-03-17 19:43:26 +0000
6deafa525bFix bug in cpp_int shown up by random number generations and change example to use it.
John Maddock
2012-03-17 13:23:32 +0000
45a08da90eAdd simple version of the Miller Rabin test
John Maddock
2012-03-17 09:18:20 +0000
0f6a527ceeAdd random number support.
John Maddock
2012-03-15 18:41:00 +0000
fe94baae50Allow construction/assignment from expression templates that yield a different type to *this.
John Maddock
2012-03-15 10:47:48 +0000
d82fa61c81Mostly remove references to fixed_int. Update docs.
John Maddock
2012-03-14 18:23:44 +0000
e1b23af8f5Add files missing from last commit, and add new examples to tests.
John Maddock
2012-03-13 18:40:52 +0000
7bed8d02f9Add support for disabling expression templates via a second template parameter to mp_number. Begin to update docs to reflect new cpp_int code.
John Maddock
2012-03-13 18:30:18 +0000
5caa15f798Reorganisation: 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.
John Maddock
2012-03-12 09:18:44 +0000
b42208c5dfFix several division algorithm bugs. Add cpp_rational to performance tests. Add modular arithmetic test to test cases.
John Maddock
2012-03-11 16:43:31 +0000
5cf1ff427aOoops committed too much in last commit, revert.
John Maddock
2012-03-08 17:55:54 +0000
2178bef843Fix some bugs in division and addition code
John Maddock
2012-03-08 17:54:28 +0000
b680077687enable 128-bit arithmetic on x64 systems.
John Maddock
2012-03-08 16:56:32 +0000
78cfa00b07Fix Clang failure.
John Maddock
2012-03-08 13:17:13 +0000
c82710fee6Fix gcc compiler errors.
John Maddock
2012-03-08 13:01:36 +0000
5500ad3ea8Add support for fixed precision and unsigned cpp_int's.
John Maddock
2012-03-08 10:34:37 +0000
6e494e59fdBegin refactoring cpp_int code.
John Maddock
2012-03-03 18:39:37 +0000
8f0e6e12b2Fix range error
John Maddock
2012-03-03 15:25:35 +0000
d45e66bc36Improve subtract performance.
John Maddock
2012-03-02 18:41:33 +0000
f2cb591accFix a few GCC C++0x warnings and errors
John Maddock
2012-02-29 18:26:34 +0000
bea3707326Add initial version of an arbitrary precision integer type. Hook up some more fixed_int tests.
John Maddock
2012-02-29 13:05:51 +0000
fda499be43Fix memory leaks / bugs in mpq_t and tommath support.
John Maddock
2012-02-29 10:42:23 +0000
eb631b8291Fix some multiple initializations of mpz_t.
John Maddock
2012-02-27 17:10:46 +0000
1b73913249Fix some C++0x errors.
John Maddock
2012-02-21 18:19:02 +0000
8d6dedf4b0Complete renaming of cpp_float to cpp_dec_float. Rebuild docs.
John Maddock
2012-02-16 09:36:26 +0000
380d627359Big search and replace: change cpp_float to cpp_dec_float. Also fix up some numeric_limits test failures.
John Maddock
2012-02-15 13:09:45 +0000
d69424adadFix bug in fixed_int::convert_to with negative numbers. Fix bug in fixed_int shift operator when shifting by 0. Add preliminary gcd/lcm support for integer types. Add static asserts to floating-point only functions.
John Maddock
2012-01-26 10:11:10 +0000
4472a37b0eUpdate docs with latest performance results.
John Maddock
2012-01-23 19:01:43 +0000
fc280b359eLinux performance results and fixes.
John Maddock
2012-01-23 17:07:35 +0000
57612b4703Fix performance Jamfile.
John Maddock
2012-01-23 11:23:54 +0000
4b844fc60cImprove performance of fixed_int divide and string conversion. Add mixed integer ops to fixed_int. Improve fixed_int test cases. Add improved default forwarding functions that preserve arithmetic type arguments. Fix some operator overloads. Update performance tests.
John Maddock
2012-01-22 19:12:37 +0000
a7d4ab19fbTweak division and string conversion routines for better performance - sadly we're still way behind GMP on these (though better than libtommath).
John Maddock
2012-01-21 13:12:56 +0000
a53f46637eFix Linux 64 failures
John Maddock
2012-01-20 17:15:22 +0000
3c13b7a4d1Add missing file. Fix some inconsistent uses of long long and intmax_t.
John Maddock
2012-01-18 12:16:20 +0000
ca5a793b3dRejig intmax_t and long long usage to be much more consistent.
John Maddock
2012-01-17 13:06:33 +0000
66b67a1c09Refactor SF tests for much faster compile times.
John Maddock
2012-01-16 18:26:50 +0000
c98f15f30dUpdate docs with performance results. Add component based initialization of rationals.
John Maddock
2012-01-14 13:24:52 +0000
a7d480c438Optimize increment and decrement.
John Maddock
2012-01-12 17:03:27 +0000
a97c3bd896Update docs to include fixed_int.hpp. Remove 64-bit versions of fixed_int typedefs - better to use boost::int64_t instead.
John Maddock
2012-01-12 13:56:22 +0000
e5c5802d9fTidy up type usage.
John Maddock
2012-01-12 12:29:52 +0000
036dc2baccRename files.
John Maddock
2012-01-12 12:06:27 +0000
db83a1c4adTentative rename of packed_cpp_int to fixed_int.
John Maddock
2012-01-12 11:55:09 +0000
44d5a3e394Change tests for faster compile times.
John Maddock
2012-01-11 19:09:49 +0000
8c28b89dfcFix GCC failures and generally improve performance of packed_cpp_int.
John Maddock
2012-01-11 11:53:49 +0000
99707d8925Switch to faster division code and add better test case for packed int's.
John Maddock
2012-01-10 13:20:29 +0000
8dec0e4db6Add initial performance test program for testing basic arithmetic. Fix header include on packed_cpp_int.hpp and add numeric_limits min/max values.
John Maddock
2012-01-02 17:45:49 +0000
b607dc2c47Move file.
John Maddock
2012-01-01 11:46:48 +0000
9a1f7c14a5Update special functions performance test and add generic lanczos support to floating point types.
John Maddock
2012-01-01 11:37:46 +0000
30310e4a52Another Boost.Rational fix. Add tentative version of a fixed width, bit-packed 2's complement integer type.
John Maddock
2011-12-30 18:21:08 +0000
5ada2d8169Correct TODO list and regenerate docs.
John Maddock
2011-12-24 13:14:17 +0000
d7578f242cAdd 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.
John Maddock
2011-12-24 13:13:16 +0000
c32e35aaceFix File IO and string conversion for rational_adapter, and update tests accordingly.
John Maddock
2011-12-24 11:59:25 +0000
b9ea00966fFix modulus operations for negative numbers that should yield zero results (and update tests to match). Fix boost::rational comparison operator support. Fix GCC failures in test_rational_io.cpp. Add adapter for rational types.
John Maddock
2011-12-24 10:07:32 +0000
a2dc3b968cFix remaining Boost.Rational support issues and add rational number IO test.
John Maddock
2011-12-23 17:13:29 +0000
ebe14443afUpdate TODO list.
John Maddock
2011-12-22 11:52:51 +0000
3327eb6b8bFix some MSVC warnings.
John Maddock
2011-12-20 16:46:54 +0000
6e3ab5380bAdd tests for Boost.Math special functions, and fix whatever errors came up in running those tests. Add workaround for compilers that don't have a std::abs(long long).
John Maddock
2011-12-20 16:19:55 +0000
018ac8cd6cBegin adding tests taken from Boost.Math and fix the issues they flag up.
John Maddock
2011-12-06 19:03:41 +0000
7cd2ac78d6Add roadmap and TODO list.
John Maddock
2011-11-30 12:16:52 +0000
fdcc1a5034Document libtommath support, add error checking to tommath bitwise operators.
John Maddock
2011-11-30 12:08:59 +0000
d76492ddaaSuppress some GCC warnings.
John Maddock
2011-11-29 12:27:40 +0000
4a9845ac7eFix and test integer formatted output.
John Maddock
2011-11-28 19:24:20 +0000
7143af0191Fix IO of infinities and NaN's. Add IO round trip test and adjust max_digits10 accordingly.
John Maddock
2011-11-28 16:28:31 +0000
ffc6bcedc9Fix float IO and add test.
John Maddock
2011-11-28 09:13:12 +0000
a82c12c447Mostly fix IO failures.
John Maddock
2011-11-24 17:27:17 +0000
a448d536d0Re-factor and fix (again) floating point formatting.
John Maddock
2011-11-23 10:14:41 +0000
b3048e4ad2Fix bug in previous formatting code.
John Maddock
2011-11-22 10:07:24 +0000
40123e7170Change number formatting when std::ios_base::fixed is set to print the requested number of digits, padding with zeros as required.
John Maddock
2011-11-22 09:51:58 +0000
60525e3a9bFix showpos support.
John Maddock
2011-11-21 19:20:35 +0000
ecead4525aSuppress MSVC warnings in tests. Add support for std::ios_base::fmtflags in string formatting. Fix the errors that result from above change!
John Maddock
2011-11-21 09:52:32 +0000
cd31fbde7aFix operator>> for mp_number. Add template inter-conversions on cpp_float. Adjust precision of test reporting.
John Maddock
2011-11-17 18:08:51 +0000
b653174c77Add enhanced testing support. Remove throw statements for BOOST_THROW_EXCEPTION. Remove throw() qualifiers: they're a dis-optimization.
John Maddock
2011-11-16 17:36:40 +0000
050ae32c44Add initial libtommath support. Fix use of noexcept. Remove dead files.
John Maddock
2011-11-16 09:40:05 +0000
bf4c85c584Minor editorial corrections.
Paul A. Bristow
2011-11-15 12:16:49 +0000
0c413f7352Change real_types to float_types.
John Maddock
2011-11-14 13:39:10 +0000
f5eb2f330bUpdate docs, rename remaining occurrences of mp_float.
John Maddock
2011-11-14 12:41:15 +0000
b85306e076Fix remaining cpp_float bugs. Fix use of expression templates in conditional expressions.
John Maddock
2011-11-14 12:19:17 +0000
0bf6917f18Remove dead file.
John Maddock
2011-11-12 13:16:39 +0000
c8eda6845eSearch and replace - rename mp_float cpp_float.
John Maddock
2011-11-12 13:15:33 +0000
47724a4221Fixes for bugs in mp_float. Fix constant initialization. Add some instrumentation code. Make mp_exp constructor explicit. Remove some dead code. Note mp_float division has outstanding bugs still!!
John Maddock
2011-11-12 12:15:04 +0000
0c4dde52eeGet the rounding functions working and tested, update docs to match.
John Maddock
2011-11-09 17:37:40 +0000
b36be1f5c3Tighten up and test the architypes.
John Maddock
2011-11-08 12:50:21 +0000
fb0acf6872Add performance test comparison. Update docs some more. Remove dead code in mp_number.hpp.
John Maddock
2011-11-05 18:22:18 +0000
6e009f3029Fix gcc warnings and errors. Update docs.
John Maddock
2011-11-03 11:06:05 +0000
1c6577b5a6Add conversion tests and update docs.
John Maddock
2011-11-02 18:15:00 +0000
8d23cca8cbAdd mpfr inter-conversions. Fix numerator/denominator for rational types.
John Maddock
2011-11-02 17:15:46 +0000
e97c76f66fAdd interconversions between GMP types. Updates docs. Add numerator and denominator methods for rational numbers.
John Maddock
2011-11-01 19:14:08 +0000
9092a7b150Remove old docs.
John Maddock
2011-10-31 16:01:10 +0000
401af0322aFile rename
John Maddock
2011-10-31 16:00:21 +0000
4061f5275bFix Clang failures.
John Maddock
2011-10-30 18:39:38 +0000
79d630a068Fix benchmark to build with new code.
John Maddock
2011-10-29 17:41:31 +0000
6372f8b638Get mp_float passing all the tests, fix some bugs in acos and atan implementations.
John Maddock
2011-10-29 11:57:54 +0000
ad66feecbeAdd numeric_limits support for mp_float.
John Maddock
2011-10-27 16:46:46 +0000
b0ac20f391Add port of e_float as a backend.
John Maddock
2011-10-27 12:43:41 +0000