Commit Graph

  • 366ec67ddc Fix GCC Random number and Miller Rabin build errors. John Maddock 2012-03-22 17:32:43 +0000
  • f657a2fd59 Remove dead statement John Maddock 2012-03-22 13:27:12 +0000
  • 6ead744223 Fix fixed precision ints to work with non obvious bit counts. John Maddock 2012-03-22 11:54:15 +0000
  • 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. John Maddock 2012-03-22 10:29:30 +0000
  • 24cff33935 Update 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
  • 2349943cdb Fix 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
  • 6deafa525b Fix 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
  • 45a08da90e Add simple version of the Miller Rabin test John Maddock 2012-03-17 09:18:20 +0000
  • 0f6a527cee Add random number support. John Maddock 2012-03-15 18:41:00 +0000
  • fe94baae50 Allow construction/assignment from expression templates that yield a different type to *this. John Maddock 2012-03-15 10:47:48 +0000
  • d82fa61c81 Mostly remove references to fixed_int. Update docs. John Maddock 2012-03-14 18:23:44 +0000
  • e1b23af8f5 Add files missing from last commit, and add new examples to tests. John Maddock 2012-03-13 18:40:52 +0000
  • 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. John Maddock 2012-03-13 18:30:18 +0000
  • 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. John Maddock 2012-03-12 09:18:44 +0000
  • b42208c5df Fix 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
  • 5cf1ff427a Ooops committed too much in last commit, revert. John Maddock 2012-03-08 17:55:54 +0000
  • 2178bef843 Fix some bugs in division and addition code John Maddock 2012-03-08 17:54:28 +0000
  • b680077687 enable 128-bit arithmetic on x64 systems. John Maddock 2012-03-08 16:56:32 +0000
  • 78cfa00b07 Fix Clang failure. John Maddock 2012-03-08 13:17:13 +0000
  • c82710fee6 Fix gcc compiler errors. John Maddock 2012-03-08 13:01:36 +0000
  • 5500ad3ea8 Add support for fixed precision and unsigned cpp_int's. John Maddock 2012-03-08 10:34:37 +0000
  • 6e494e59fd Begin refactoring cpp_int code. John Maddock 2012-03-03 18:39:37 +0000
  • 8f0e6e12b2 Fix range error John Maddock 2012-03-03 15:25:35 +0000
  • d45e66bc36 Improve subtract performance. John Maddock 2012-03-02 18:41:33 +0000
  • f2cb591acc Fix a few GCC C++0x warnings and errors John Maddock 2012-02-29 18:26:34 +0000
  • bea3707326 Add initial version of an arbitrary precision integer type. Hook up some more fixed_int tests. John Maddock 2012-02-29 13:05:51 +0000
  • fda499be43 Fix memory leaks / bugs in mpq_t and tommath support. John Maddock 2012-02-29 10:42:23 +0000
  • eb631b8291 Fix some multiple initializations of mpz_t. John Maddock 2012-02-27 17:10:46 +0000
  • 1b73913249 Fix some C++0x errors. John Maddock 2012-02-21 18:19:02 +0000
  • 8d6dedf4b0 Complete renaming of cpp_float to cpp_dec_float. Rebuild docs. John Maddock 2012-02-16 09:36:26 +0000
  • 380d627359 Big 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
  • d69424adad Fix 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
  • 4472a37b0e Update docs with latest performance results. John Maddock 2012-01-23 19:01:43 +0000
  • fc280b359e Linux performance results and fixes. John Maddock 2012-01-23 17:07:35 +0000
  • 57612b4703 Fix performance Jamfile. John Maddock 2012-01-23 11:23:54 +0000
  • 4b844fc60c Improve 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
  • a7d4ab19fb Tweak 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
  • a53f46637e Fix Linux 64 failures John Maddock 2012-01-20 17:15:22 +0000
  • 3c13b7a4d1 Add missing file. Fix some inconsistent uses of long long and intmax_t. John Maddock 2012-01-18 12:16:20 +0000
  • ca5a793b3d Rejig intmax_t and long long usage to be much more consistent. John Maddock 2012-01-17 13:06:33 +0000
  • 66b67a1c09 Refactor SF tests for much faster compile times. John Maddock 2012-01-16 18:26:50 +0000
  • c98f15f30d Update docs with performance results. Add component based initialization of rationals. John Maddock 2012-01-14 13:24:52 +0000
  • a7d480c438 Optimize increment and decrement. John Maddock 2012-01-12 17:03:27 +0000
  • a97c3bd896 Update 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
  • e5c5802d9f Tidy up type usage. John Maddock 2012-01-12 12:29:52 +0000
  • 036dc2bacc Rename files. John Maddock 2012-01-12 12:06:27 +0000
  • db83a1c4ad Tentative rename of packed_cpp_int to fixed_int. John Maddock 2012-01-12 11:55:09 +0000
  • 44d5a3e394 Change tests for faster compile times. John Maddock 2012-01-11 19:09:49 +0000
  • 8c28b89dfc Fix GCC failures and generally improve performance of packed_cpp_int. John Maddock 2012-01-11 11:53:49 +0000
  • 99707d8925 Switch to faster division code and add better test case for packed int's. John Maddock 2012-01-10 13:20:29 +0000
  • 8dec0e4db6 Add 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
  • b607dc2c47 Move file. John Maddock 2012-01-01 11:46:48 +0000
  • 9a1f7c14a5 Update special functions performance test and add generic lanczos support to floating point types. John Maddock 2012-01-01 11:37:46 +0000
  • 30310e4a52 Another 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
  • 5ada2d8169 Correct TODO list and regenerate docs. John Maddock 2011-12-24 13:14:17 +0000
  • 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. John Maddock 2011-12-24 13:13:16 +0000
  • c32e35aace Fix File IO and string conversion for rational_adapter, and update tests accordingly. John Maddock 2011-12-24 11:59:25 +0000
  • b9ea00966f Fix 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
  • a2dc3b968c Fix remaining Boost.Rational support issues and add rational number IO test. John Maddock 2011-12-23 17:13:29 +0000
  • ebe14443af Update TODO list. John Maddock 2011-12-22 11:52:51 +0000
  • 3327eb6b8b Fix some MSVC warnings. John Maddock 2011-12-20 16:46:54 +0000
  • 6e3ab5380b Add 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
  • 018ac8cd6c Begin adding tests taken from Boost.Math and fix the issues they flag up. John Maddock 2011-12-06 19:03:41 +0000
  • 7cd2ac78d6 Add roadmap and TODO list. John Maddock 2011-11-30 12:16:52 +0000
  • fdcc1a5034 Document libtommath support, add error checking to tommath bitwise operators. John Maddock 2011-11-30 12:08:59 +0000
  • d76492ddaa Suppress some GCC warnings. John Maddock 2011-11-29 12:27:40 +0000
  • 4a9845ac7e Fix and test integer formatted output. John Maddock 2011-11-28 19:24:20 +0000
  • 7143af0191 Fix 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
  • ffc6bcedc9 Fix float IO and add test. John Maddock 2011-11-28 09:13:12 +0000
  • a82c12c447 Mostly fix IO failures. John Maddock 2011-11-24 17:27:17 +0000
  • a448d536d0 Re-factor and fix (again) floating point formatting. John Maddock 2011-11-23 10:14:41 +0000
  • b3048e4ad2 Fix bug in previous formatting code. John Maddock 2011-11-22 10:07:24 +0000
  • 40123e7170 Change 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
  • 60525e3a9b Fix showpos support. John Maddock 2011-11-21 19:20:35 +0000
  • ecead4525a Suppress 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
  • cd31fbde7a Fix 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
  • b653174c77 Add 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
  • 050ae32c44 Add initial libtommath support. Fix use of noexcept. Remove dead files. John Maddock 2011-11-16 09:40:05 +0000
  • bf4c85c584 Minor editorial corrections. Paul A. Bristow 2011-11-15 12:16:49 +0000
  • 0c413f7352 Change real_types to float_types. John Maddock 2011-11-14 13:39:10 +0000
  • f5eb2f330b Update docs, rename remaining occurrences of mp_float. John Maddock 2011-11-14 12:41:15 +0000
  • b85306e076 Fix remaining cpp_float bugs. Fix use of expression templates in conditional expressions. John Maddock 2011-11-14 12:19:17 +0000
  • 40d1b2f1dd Add sqrt tests. Fix remaining cpp_float failures. John Maddock 2011-11-13 17:36:39 +0000
  • 0bf6917f18 Remove dead file. John Maddock 2011-11-12 13:16:39 +0000
  • c8eda6845e Search and replace - rename mp_float cpp_float. John Maddock 2011-11-12 13:15:33 +0000
  • 47724a4221 Fixes 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
  • 0c4dde52ee Get the rounding functions working and tested, update docs to match. John Maddock 2011-11-09 17:37:40 +0000
  • b36be1f5c3 Tighten up and test the architypes. John Maddock 2011-11-08 12:50:21 +0000
  • fb0acf6872 Add performance test comparison. Update docs some more. Remove dead code in mp_number.hpp. John Maddock 2011-11-05 18:22:18 +0000
  • 6e009f3029 Fix gcc warnings and errors. Update docs. John Maddock 2011-11-03 11:06:05 +0000
  • 1c6577b5a6 Add conversion tests and update docs. John Maddock 2011-11-02 18:15:00 +0000
  • 8d23cca8cb Add mpfr inter-conversions. Fix numerator/denominator for rational types. John Maddock 2011-11-02 17:15:46 +0000
  • e97c76f66f Add interconversions between GMP types. Updates docs. Add numerator and denominator methods for rational numbers. John Maddock 2011-11-01 19:14:08 +0000
  • 9092a7b150 Remove old docs. John Maddock 2011-10-31 16:01:10 +0000
  • 401af0322a File rename John Maddock 2011-10-31 16:00:21 +0000
  • 4061f5275b Fix Clang failures. John Maddock 2011-10-30 18:39:38 +0000
  • 79d630a068 Fix benchmark to build with new code. John Maddock 2011-10-29 17:41:31 +0000
  • 6372f8b638 Get mp_float passing all the tests, fix some bugs in acos and atan implementations. John Maddock 2011-10-29 11:57:54 +0000
  • ad66feecbe Add numeric_limits support for mp_float. John Maddock 2011-10-27 16:46:46 +0000
  • b0ac20f391 Add port of e_float as a backend. John Maddock 2011-10-27 12:43:41 +0000