Commit Graph

  • a461ca170a Add lot's of enable_if's to integer only operators to restrict them to integer types (improves error messages). Update test coverage Makesfile. Update tests for full coverage. John Maddock 2013-04-26 08:17:12 +0000
  • 5126fa8e74 Fix float128 compile error. Add constexpr support to float128. Add float128 docs and rebuild HTML. John Maddock 2013-04-22 17:50:55 +0000
  • fe005f030a Don't use C++11 only features of std::string. John Maddock 2013-04-14 15:53:05 +0000
  • 727b4c4643 Fixes to get the float128 tests passing with Intel C++ 13.0. John Maddock 2013-04-13 16:53:01 +0000
  • 74e46a3306 Initial Intel C++ _Quad support in float128. John Maddock 2013-04-12 09:01:20 +0000
  • ba0232fb1e Fix float128 string formatting. John Maddock 2013-04-10 16:30:13 +0000
  • eb267293d7 Refactored build process to improve compile times. Fixed expression-template incompatibility in spherical_harmonic.hpp. Fixed expression template issues in log1p_expm1_test.hpp and test_cbrt.hpp. John Maddock 2013-04-06 08:54:04 +0000
  • 4a1fcb015d Add missing file. John Maddock 2013-04-03 18:01:25 +0000
  • 324d889d26 Fix up linpack tests for __float128 John Maddock 2013-04-02 18:11:35 +0000
  • 04b1c9e9f0 Initial commit of 128-bit float wrapper John Maddock 2013-04-02 17:26:48 +0000
  • 8eade71925 Merge fix for #8326, plus misc valgrind errors. Refs #8326. John Maddock 2013-03-31 16:34:50 +0000
  • cf85234a43 Update revision history, rebuild docs. John Maddock 2013-03-31 16:22:30 +0000
  • ff1c93b043 Fix bug(s) that cause variable reuse in function calls to fail. Add additional test cases. Fixes #8326. John Maddock 2013-03-28 11:27:08 +0000
  • b1a27b8c5c Fix valgrind errors John Maddock 2013-03-22 16:55:36 +0000
  • 61c2b5449f Merge changes from Trunk. John Maddock 2013-03-22 13:02:53 +0000
  • c221a74a3c Add unsigned priority mask and trivial cleanup. Christopher Kormanyos 2013-03-17 19:13:24 +0000
  • bc193d7add Fix GCC-4.6.x support which was broken in last commit. Refs #8292 John Maddock 2013-03-16 12:00:01 +0000
  • e5c96aada3 Add missing file, refs #8292 John Maddock 2013-03-15 18:47:42 +0000
  • 3aeea98da5 Suppress some msvc warnings. John Maddock 2013-03-15 18:07:05 +0000
  • 6582c85fd8 Improve uBas integration to allow use of expression templates inside uBas templates. Fixes #8292. John Maddock 2013-03-15 17:29:20 +0000
  • 726b2ffc32 Proper copyright information + foundations for cpp_bin_float. Christopher Kormanyos 2013-03-10 11:04:09 +0000
  • d02def787b change adapter -> adaptor John Maddock 2013-03-08 11:51:32 +0000
  • 90bebe9ab4 Include config.hpp John Maddock 2013-03-08 11:46:52 +0000
  • 81d0ea8776 Preliminary preparations for cpp_bin_float. Moved the rebind and dynamic_array structures from cpp_dec_float.hpp to separate files in /detail. Christopher Kormanyos 2013-03-06 21:26:01 +0000
  • 2a4255861e Fix operators that operate on unary-negated expressions. Suppress some MSVC specific warnings. Fix some bugs exposed by above changes and add new test cases. Fixes #8176. John Maddock 2013-03-01 13:15:56 +0000
  • d590f8baca Remove an unreachable code block from pow2(). Add an optimization to eval_ldexp(). Christopher Kormanyos 2013-02-28 19:58:21 +0000
  • bea6a2bdfc Change boolean context conversion operator so it's not convertible to void*. Fixes #8177. John Maddock 2013-02-26 12:43:14 +0000
  • 04e971893b Better fix for #8160. Refs #8160. John Maddock 2013-02-25 16:32:59 +0000
  • 5245fd31e2 Fix bug in division of zero. Document and add tests. Fixes #8160. John Maddock 2013-02-24 13:20:46 +0000
  • 1ef61ef160 Fix bug in subtraction routine that leads to -0 rather than 0. Add test cases. Fixes #8145. John Maddock 2013-02-23 17:22:18 +0000
  • 4a43b9ef8e Fix bug in subtraction of a limb_type. Fix bug in division/modulus algorithms that results in incorrect sign when source and destination overlap. Tweak performance of GCD algorithms. Add test cases for bug reports. Fixes #8133. Fixes #8126. John Maddock 2013-02-22 10:37:36 +0000
  • 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. John Maddock 2013-02-21 13:05:41 +0000
  • b8f6ed0612 Change to use the unit test framework as the test exec monitor seems to be terminally broken. John Maddock 2013-02-17 08:59:46 +0000
  • fb748f698d Refs #8065 Christopher Kormanyos 2013-02-16 10:55:06 +0000
  • 869e98ac84 Fix raise_rounding_error to return the correct result (and type) when an error occurs. Fixes #7905. John Maddock 2013-02-14 18:20:03 +0000
  • 14b230d251 Get rid of MSVC C4996 warnings. Fixes #8036. John Maddock 2013-02-12 18:58:23 +0000
  • 1037731caa Fix cast to void John Maddock 2013-01-28 17:38:11 +0000
  • 5018162072 Reorder static assertions for better error messages. John Maddock 2013-01-25 17:45:03 +0000
  • c5dee8ee69 Fix gcc build failures and warnings John Maddock 2013-01-25 12:49:55 +0000
  • 0411162f1f Update visualizers for cpp_dec_float. John Maddock 2013-01-18 13:36:51 +0000
  • 8ff620de3b Add debug_adaptor.hpp. Document debug_adaptor and VC++ visualizers. John Maddock 2013-01-17 12:23:21 +0000
  • 2b901734b2 Big search and replace name change of adapter -> adaptor. John Maddock 2013-01-15 11:43:27 +0000
  • 0d4b3d4b02 Add logged adapter. Add docs for logged_adapter and mpfi_float. John Maddock 2013-01-15 09:25:05 +0000
  • 688c1ab73c Fix bug in cpp_int division. Update docs. Refs #7878. John Maddock 2013-01-14 19:13:57 +0000
  • 97ba7d573f Fix bug that causes division by single limb to fail when the remainder is zero and the least significant limb of the quotient is 1. Fixes #7878. John Maddock 2013-01-12 10:51:46 +0000
  • 97b0b495a4 Split test_arithmetic_mpfr_50.cpp into two tests for faster compiles / smaller memory usage. John Maddock 2013-01-10 11:25:15 +0000
  • 42458450be Add initial support for mpfi interval arithmetic John Maddock 2013-01-03 18:58:43 +0000
  • 5260e3fdb2 Merge bug fixes from Trunk: Mostly correct typos as per https://svn.boost.org/trac/boost/ticket/7806 Also fix cpp_dec_float docs and add some static asserts to catch misuse. Fix performance bottleneck in cpp_int's gcd implementation. John Maddock 2012-12-20 17:42:14 +0000
  • 27599ca09e Apply patch for typos. Regenerate docs. Fixes #7806. John Maddock 2012-12-18 11:28:04 +0000
  • 3f7e4906df Add static asserts on ExponentType requirements. Document requirements better. Regenerate docs. John Maddock 2012-12-17 13:11:01 +0000
  • 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. John Maddock 2012-12-14 18:37:27 +0000
  • a4c6303ad8 Merge minor fixes from Trunk. John Maddock 2012-12-12 17:09:08 +0000
  • f607597c85 Update mpfr.hpp to use MPFR native constants when used with Boost.Math. John Maddock 2012-12-12 13:18:06 +0000
  • a7d4edc769 Tweak GCD for better performance. John Maddock 2012-12-09 16:41:53 +0000
  • 75cab8836d Allow detail::canonical to be used with enum types. Review all noexcept specifications - and remove quite a few that we (probably) can't guarantee. Change example workaround for non-C++11 compilers. John Maddock 2012-12-09 15:24:07 +0000
  • 870cd623f0 Merge multiprecision from Trunk. John Maddock 2012-12-09 12:01:09 +0000
  • 82e82e6b15 Disable debug info for a couple of slower compilers: speeds up the tests somewhat. John Maddock 2012-12-08 17:40:29 +0000
  • f1830235bb Fix inspection report issues. Regenerate docs. Fix performance test Jamfile. John Maddock 2012-12-06 13:37:51 +0000
  • 1b6d4082b4 Change to return test result!! John Maddock 2012-12-06 10:39:59 +0000
  • bfd897f5d8 Fix some more GCC warnings and make compiles faster for slow compilers (Intel) John Maddock 2012-12-04 19:28:46 +0000
  • 1991d878aa Fix some more GCC warnings. John Maddock 2012-12-01 18:06:24 +0000
  • 672cd76754 Refactor test_arithmetic.cpp into lots of small files for reduced dependencies. Changed use of __forceinline to release builds only. John Maddock 2012-12-01 16:19:23 +0000
  • 5f14980691 Improved cpp_dec_float::extract_parts to handle sizeof(double) exceeding 8 bytes. Christopher Kormanyos 2012-11-30 20:22:10 +0000
  • 9c7f52ec7f Suppress GCC warning. John Maddock 2012-11-30 16:29:17 +0000
  • c77b46b4da Add missing -= operator to tests. John Maddock 2012-11-29 11:04:22 +0000
  • 5eb7c69461 Removed usage of deprecated macros Marshall Clow 2012-11-26 17:20:55 +0000
  • 2ead55dafc Fix PDF generation. John Maddock 2012-11-26 17:05:42 +0000
  • 9d16324b79 Tweak docs and regenerate. Fix doc Jamfile. Add redirect index.html. John Maddock 2012-11-26 16:59:39 +0000
  • 477fec65e1 TRy and disable some VC11 warnings. John Maddock 2012-11-25 18:01:46 +0000
  • 3523e32a6c Fix for aliasing bug. John Maddock 2012-11-25 11:50:54 +0000
  • b9b28eefa7 Fix for gcc-4.4.x: rvalue reference support in gcc-4.4 isn't good enough for our use cases. John Maddock 2012-11-24 18:28:04 +0000
  • 4d78b669b8 Improve testing macros and update test_arithmetic.cpp to use them and offer better error reporting. John Maddock 2012-11-23 17:19:11 +0000
  • 114aeb386b Simply enable_if usage in cpp_int_backend: try to fix Intel-11 failures. Improve test_cpp_int.cpp. Improve config tests. John Maddock 2012-11-22 17:21:01 +0000
  • d6feeb290d Small optimisation for integer modulus. John Maddock 2012-11-22 09:56:47 +0000
  • 03af4f817c Remove usage of deprecated macros Marshall Clow 2012-11-21 21:32:26 +0000
  • edfc8f5ff8 Fix for non-C++11 compilers. John Maddock 2012-11-21 18:55:39 +0000
  • 09f3928f5a Fix clang failures John Maddock 2012-11-21 17:54:50 +0000
  • fa16b3f2d5 Fix missing include John Maddock 2012-11-20 18:56:23 +0000
  • 8f18e0b73f Enhance config tests. Split cpp_int tests into smaller chunks. John Maddock 2012-11-20 18:50:08 +0000
  • 1f4ed86f97 Fix configuration tests to correctly print lib version numbers John Maddock 2012-11-20 12:14:52 +0000
  • 77d07eb7e9 Fix Intel compile failure John Maddock 2012-11-20 12:00:15 +0000
  • cbb9e41226 Try and fix some Clang failures. Also remove noexcept specifications from cpp_dec_float: calls to lexical_cast deep in the call tree, make it pretty much impossible to analyse by hand. John Maddock 2012-11-19 18:18:51 +0000
  • 3168afc5ec Misc minor fixes for VC9. John Maddock 2012-11-19 13:30:33 +0000
  • d38ad7997d Fix misplaced use of typename. John Maddock 2012-11-19 12:27:53 +0000
  • c53491f7f8 Configure checks need to verify GMP and MPFR versions. John Maddock 2012-11-19 11:02:06 +0000
  • 8ae04c68a6 Merge multiprecision from sandbox. John Maddock 2012-11-18 18:56:59 +0000
  • 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. John Maddock 2012-11-13 17:12:19 +0000
  • 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. John Maddock 2012-11-09 18:55:19 +0000
  • a9bcf67b4b Fix errors resulting from incorrect noexcept specifications and no numeric_limits support for __int128 John Maddock 2012-11-05 19:05:31 +0000
  • e3deed1fdf Optimize cpp_int multiplication with precision extension. Turn off some warnings. John Maddock 2012-11-05 12:36:25 +0000
  • 836d765243 Fix Jamfile SNAFU. John Maddock 2012-11-04 12:14:22 +0000
  • e599ca723c Fix missing typename. John Maddock 2012-11-04 12:08:37 +0000
  • da40611f57 Fix mpfr_float_backend interconversions. Update docs and regenerate. John Maddock 2012-11-03 18:27:11 +0000
  • 788449ffa5 Add non-member functions for mixed precision arithmetic + tests for same. Fix a couple of bugs discovered along the way. John Maddock 2012-11-02 19:13:50 +0000
  • 3080df73d9 Update MPFR docs with performance comparison. John Maddock 2012-11-02 13:07:39 +0000
  • b640732abd Add additional template parameter to mpfr_float_backend to allow stack-based floats. John Maddock 2012-11-01 19:01:08 +0000
  • d1336b5f63 More doc updates. Regenerate docs. John Maddock 2012-11-01 11:19:59 +0000
  • 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. John Maddock 2012-10-31 17:06:33 +0000
  • 645fe8865c Add tests for checked ints and fix failures. Make negating an unsigned int an error, and fix resulting test failures. Change allocator defaults to be void when the allocator is not actually required. John Maddock 2012-10-27 17:48:33 +0000
  • e3b56e3f7c Fix constexpr support. John Maddock 2012-10-25 11:53:25 +0000