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
John Maddock
0c413f7352
Change real_types to float_types.
...
[SVN r75489]
2011-11-14 13:39:10 +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
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
4061f5275b
Fix Clang failures.
...
[SVN r75180]
2011-10-30 18:39:38 +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
John Maddock
9124ccb4c1
Enable native atan2 for mpfr.
...
[SVN r75095]
2011-10-23 16:03:29 +00:00
John Maddock
fc1eb9303f
Get the tests passing with gcc on Linux.
...
[SVN r75094]
2011-10-23 15:49:27 +00:00
John Maddock
c34e9f654f
Big search and replace namespace and class renaming: get rid of last references to "big_number" and "real".
...
[SVN r75093]
2011-10-23 11:23:13 +00:00
John Maddock
628c8cd62f
Added atan2, plus missing file.
...
[SVN r75090]
2011-10-22 17:32:01 +00:00
John Maddock
21a28f3bbe
Fix eval_ldexp.
...
[SVN r75071]
2011-10-20 18:18:27 +00:00
John Maddock
636fdc2e5d
Tidy up the tests with boilerplate relative error calculation.
...
Fix eval_ldexp for mpf_t.
Fix power and log calculations.
Add acos.
Get all the tests passing.
[SVN r75070]
2011-10-20 18:16:46 +00:00
John Maddock
8cf2a83683
Add sin/cos/tan/asin functions.
...
[SVN r75053]
2011-10-18 18:10:20 +00:00
John Maddock
5f15eaa679
Added pow, exp, log, sinh, cosh and tanh support.
...
[SVN r74781]
2011-10-07 18:14:34 +00:00
John Maddock
d6b9a6e980
Change log to give correct answer for log(1) and to not subtract towards the correct answer when that answer is small. Also improves series convergence.
...
[SVN r74736]
2011-10-05 11:26:31 +00:00
John Maddock
fa6b1ad9ea
Add exponent_type as a requirement for floating point backends.
...
Made use of that type in code, and suppressed a few warnings.
[SVN r74704]
2011-10-04 18:23:26 +00:00
John Maddock
7be44c1683
Add log function and tests.
...
[SVN r74700]
2011-10-04 16:46:25 +00:00
John Maddock
b8a60ca6ca
Rename "big_number*" to "mp_number*".
...
[SVN r74671]
2011-10-03 17:15:55 +00:00
John Maddock
e0309c8492
More file renames to remove "big_" prefixes.
...
[SVN r74670]
2011-10-03 17:03:28 +00:00
John Maddock
01173bc59c
Changed namespace to "multiprecision".
...
Added some numberic constant calculations.
Added exp function support and test case.
[SVN r74669]
2011-10-03 16:56:24 +00:00
John Maddock
b0de931cf1
Giant file and directory rename: changed directory name from math to multiprecision and updated code to match.
...
[SVN r74583]
2011-09-26 17:59:35 +00:00
John Maddock
94d6513d38
Giant file and directory rename: changed directory name from math to multiprecision and updated code to match.
...
[SVN r74582]
2011-09-26 17:03:55 +00:00
John Maddock
09e1fd8f77
Giant file and directory rename: changed directory name from math to multiprecision and updated code to match.
...
[SVN r74578]
2011-09-26 16:29:44 +00:00
John Maddock
377971fae4
Fix remaining GCC test failures, plus a few warnings.
...
[SVN r74562]
2011-09-25 12:35:40 +00:00
John Maddock
23bc9e5f50
Fix coding errors undetected by MSVC, get everything compiling with GCC.
...
[SVN r74559]
2011-09-25 11:11:14 +00:00
John Maddock
4783bd83e6
First cut at removing proto dependency - concept check now builds with msvc and mpfr_real_50.
...
[SVN r74545]
2011-09-24 11:07:59 +00:00
John Maddock
c3d0d2bead
Optimise comparison to zero.
...
Remove unnecessary static asserts - even floats are incrementable.
Fix some of the default function methods, and add fmod.
Add mpq comparison and conversion routines.
Add mpfr lanczos support.
Add std lib function support for big_number_architype.
Update comparison tests.
[SVN r74479]
2011-09-20 12:36:22 +00:00
John Maddock
4af7f865b0
Bring mpfr backend into line with Boost.Math's requirements.
...
Fix input streaming.
Add MPQ support.
Mostly fix gcc compiler issues.
[SVN r74354]
2011-09-12 08:35:42 +00:00
John Maddock
821405e546
Added fpclassify routines.
...
[SVN r74167]
2011-08-30 18:08:56 +00:00
John Maddock
0b6e685799
Change function evaluation calling convention and naming.
...
Add integer-powers support.
[SVN r74166]
2011-08-30 17:00:05 +00:00