Commit Graph

1243 Commits

Author SHA1 Message Date
John Maddock
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.

[SVN r76279]
2012-01-02 17:45:49 +00:00
John Maddock
b607dc2c47 Move file.
[SVN r76253]
2012-01-01 11:46:48 +00:00
John Maddock
9a1f7c14a5 Update special functions performance test and add generic lanczos support to floating point types.
[SVN r76252]
2012-01-01 11:37:46 +00:00
John Maddock
30310e4a52 Another Boost.Rational fix.
Add tentative version of a fixed width, bit-packed 2's complement integer type.

[SVN r76234]
2011-12-30 18:21:08 +00:00
John Maddock
5ada2d8169 Correct TODO list and regenerate docs.
[SVN r76131]
2011-12-24 13:14:17 +00:00
John Maddock
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.

[SVN r76130]
2011-12-24 13:13:16 +00:00
John Maddock
c32e35aace Fix File IO and string conversion for rational_adapter, and update tests accordingly.
[SVN r76129]
2011-12-24 11:59:25 +00:00
John Maddock
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.

[SVN r76128]
2011-12-24 10:07:32 +00:00
John Maddock
a2dc3b968c Fix remaining Boost.Rational support issues and add rational number IO test.
[SVN r76121]
2011-12-23 17:13:29 +00:00
John Maddock
ebe14443af Update TODO list.
[SVN r76103]
2011-12-22 11:52:51 +00:00
John Maddock
3327eb6b8b Fix some MSVC warnings.
[SVN r76082]
2011-12-20 16:46:54 +00:00
John Maddock
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).

[SVN r76079]
2011-12-20 16:19:55 +00:00
John Maddock
018ac8cd6c Begin adding tests taken from Boost.Math and fix the issues they flag up.
[SVN r75832]
2011-12-06 19:03:41 +00:00
John Maddock
7cd2ac78d6 Add roadmap and TODO list.
[SVN r75747]
2011-11-30 12:16:52 +00:00
John Maddock
fdcc1a5034 Document libtommath support, add error checking to tommath bitwise operators.
[SVN r75746]
2011-11-30 12:08:59 +00:00
John Maddock
d76492ddaa Suppress some GCC warnings.
[SVN r75723]
2011-11-29 12:27:40 +00:00
John Maddock
4a9845ac7e Fix and test integer formatted output.
[SVN r75716]
2011-11-28 19:24:20 +00:00
John Maddock
7143af0191 Fix IO of infinities and NaN's.
Add IO round trip test and adjust max_digits10 accordingly.

[SVN r75714]
2011-11-28 16:28:31 +00:00
John Maddock
ffc6bcedc9 Fix float IO and add test.
[SVN r75707]
2011-11-28 09:13:12 +00:00
John Maddock
a82c12c447 Mostly fix IO failures.
[SVN r75644]
2011-11-24 17:27:17 +00:00
John Maddock
a448d536d0 Re-factor and fix (again) floating point formatting.
[SVN r75637]
2011-11-23 10:14:41 +00:00
John Maddock
b3048e4ad2 Fix bug in previous formatting code.
[SVN r75603]
2011-11-22 10:07:24 +00:00
John Maddock
40123e7170 Change number formatting when std::ios_base::fixed is set to print the requested number of digits, padding with zeros as required.
[SVN r75602]
2011-11-22 09:51:58 +00:00
John Maddock
60525e3a9b Fix showpos support.
[SVN r75597]
2011-11-21 19:20:35 +00:00
John Maddock
ecead4525a Suppress MSVC warnings in tests.
Add support for std::ios_base::fmtflags in string formatting.
Fix the errors that result from above change!

[SVN r75586]
2011-11-21 09:52:32 +00:00
John Maddock
cd31fbde7a Fix operator>> for mp_number.
Add template inter-conversions on cpp_float.
Adjust precision of test reporting.

[SVN r75520]
2011-11-17 18:08:51 +00:00
John Maddock
b653174c77 Add enhanced testing support.
Remove throw statements for BOOST_THROW_EXCEPTION.
Remove throw() qualifiers: they're a dis-optimization.

[SVN r75511]
2011-11-16 17:36:40 +00:00
John Maddock
050ae32c44 Add initial libtommath support.
Fix use of noexcept.
Remove dead files.

[SVN r75505]
2011-11-16 09:40:05 +00:00
Paul A. Bristow
bf4c85c584 Minor editorial corrections.
[SVN r75494]
2011-11-15 12:16:49 +00:00
John Maddock
0c413f7352 Change real_types to float_types.
[SVN r75489]
2011-11-14 13:39:10 +00:00
John Maddock
f5eb2f330b Update docs, rename remaining occurrences of mp_float.
[SVN r75487]
2011-11-14 12:41:15 +00:00
John Maddock
b85306e076 Fix remaining cpp_float bugs.
Fix use of expression templates in conditional expressions.

[SVN r75485]
2011-11-14 12:19:17 +00:00
John Maddock
40d1b2f1dd Add sqrt tests.
Fix remaining cpp_float failures.

[SVN r75478]
2011-11-13 17:36:39 +00:00
John Maddock
0bf6917f18 Remove dead file.
[SVN r75454]
2011-11-12 13:16:39 +00:00
John Maddock
c8eda6845e Search and replace - rename mp_float cpp_float.
[SVN r75453]
2011-11-12 13:15:33 +00:00
John Maddock
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!!

[SVN r75452]
2011-11-12 12:15:04 +00:00
John Maddock
0c4dde52ee Get the rounding functions working and tested, update docs to match.
[SVN r75425]
2011-11-09 17:37:40 +00:00
John Maddock
b36be1f5c3 Tighten up and test the architypes.
[SVN r75404]
2011-11-08 12:50:21 +00:00
John Maddock
fb0acf6872 Add performance test comparison.
Update docs some more.
Remove dead code in mp_number.hpp.

[SVN r75324]
2011-11-05 18:22:18 +00:00
John Maddock
6e009f3029 Fix gcc warnings and errors.
Update docs.

[SVN r75284]
2011-11-03 11:06:05 +00:00
John Maddock
1c6577b5a6 Add conversion tests and update docs.
[SVN r75279]
2011-11-02 18:15:00 +00:00
John Maddock
8d23cca8cb Add mpfr inter-conversions.
Fix numerator/denominator for rational types.

[SVN r75277]
2011-11-02 17:15:46 +00:00
John Maddock
e97c76f66f Add interconversions between GMP types.
Updates docs.
Add numerator and denominator methods for rational numbers.

[SVN r75232]
2011-11-01 19:14:08 +00:00
John Maddock
9092a7b150 Remove old docs.
[SVN r75195]
2011-10-31 16:01:10 +00:00
John Maddock
401af0322a File rename
[SVN r75194]
2011-10-31 16:00:21 +00:00
John Maddock
4061f5275b Fix Clang failures.
[SVN r75180]
2011-10-30 18:39:38 +00:00
John Maddock
79d630a068 Fix benchmark to build with new code.
[SVN r75169]
2011-10-29 17:41:31 +00:00
John Maddock
6372f8b638 Get mp_float passing all the tests, fix some bugs in acos and atan implementations.
[SVN r75166]
2011-10-29 11:57:54 +00:00
John Maddock
ad66feecbe Add numeric_limits support for mp_float.
[SVN r75134]
2011-10-27 16:46:46 +00:00
John Maddock
b0ac20f391 Add port of e_float as a backend.
[SVN r75129]
2011-10-27 12:43:41 +00:00