9124ccb4c1
Enable native atan2 for mpfr.
John Maddock
2011-10-23 16:03:29 +00:00
fc1eb9303f
Get the tests passing with gcc on Linux.
John Maddock
2011-10-23 15:49:27 +00:00
c34e9f654f
Big search and replace namespace and class renaming: get rid of last references to "big_number" and "real".
John Maddock
2011-10-23 11:23:13 +00:00
628c8cd62f
Added atan2, plus missing file.
John Maddock
2011-10-22 17:32:01 +00:00
21a28f3bbe
Fix eval_ldexp.
John Maddock
2011-10-20 18:18:27 +00:00
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.
John Maddock
2011-10-20 18:16:46 +00:00
8cf2a83683
Add sin/cos/tan/asin functions.
John Maddock
2011-10-18 18:10:20 +00:00
5f15eaa679
Added pow, exp, log, sinh, cosh and tanh support.
John Maddock
2011-10-07 18:14:34 +00:00
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.
John Maddock
2011-10-05 11:26:31 +00:00
fa6b1ad9ea
Add exponent_type as a requirement for floating point backends. Made use of that type in code, and suppressed a few warnings.
John Maddock
2011-10-04 18:23:26 +00:00
7be44c1683
Add log function and tests.
John Maddock
2011-10-04 16:46:25 +00:00
b8a60ca6ca
Rename "big_number*" to "mp_number*".
John Maddock
2011-10-03 17:15:55 +00:00
e0309c8492
More file renames to remove "big_" prefixes.
John Maddock
2011-10-03 17:03:28 +00:00
01173bc59c
Changed namespace to "multiprecision". Added some numberic constant calculations. Added exp function support and test case.
John Maddock
2011-10-03 16:56:24 +00:00
b0de931cf1
Giant file and directory rename: changed directory name from math to multiprecision and updated code to match.
John Maddock
2011-09-26 17:59:35 +00:00
94d6513d38
Giant file and directory rename: changed directory name from math to multiprecision and updated code to match.
John Maddock
2011-09-26 17:03:55 +00:00
440eb46de6
Giant file and directory rename: changed directory name from math to multiprecision and updated code to match.
John Maddock
2011-09-26 17:01:23 +00:00
73960e2a46
Giant file and directory rename: changed directory name from math to multiprecision and updated code to match.
John Maddock
2011-09-26 17:00:44 +00:00
09e1fd8f77
Giant file and directory rename: changed directory name from math to multiprecision and updated code to match.
John Maddock
2011-09-26 16:29:44 +00:00
377971fae4
Fix remaining GCC test failures, plus a few warnings.
John Maddock
2011-09-25 12:35:40 +00:00
23bc9e5f50
Fix coding errors undetected by MSVC, get everything compiling with GCC.
John Maddock
2011-09-25 11:11:14 +00:00
4783bd83e6
First cut at removing proto dependency - concept check now builds with msvc and mpfr_real_50.
John Maddock
2011-09-24 11:07:59 +00:00
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.
John Maddock
2011-09-20 12:36:22 +00:00
4af7f865b0
Bring mpfr backend into line with Boost.Math's requirements. Fix input streaming. Add MPQ support. Mostly fix gcc compiler issues.
John Maddock
2011-09-12 08:35:42 +00:00
821405e546
Added fpclassify routines.
John Maddock
2011-08-30 18:08:56 +00:00
0b6e685799
Change function evaluation calling convention and naming. Add integer-powers support.
John Maddock
2011-08-30 17:00:05 +00:00
439ae1589f
Add bitwise integer ops. Reorganise proto grammar.
John Maddock
2011-08-27 16:37:01 +00:00
32ad75f48b
Add test cases for expression-template used in boolean context.
John Maddock
2011-08-24 11:57:52 +00:00
b1986d204d
Add sign and is_zero functions. Add use in boolean context.
John Maddock
2011-08-24 11:27:08 +00:00
cdcf165e30
Add increment, decrement and bitwise-shift operators.
John Maddock
2011-08-23 18:31:03 +00:00
5dfb34d1bd
Added new backend adapter type, plus tentative e_float support. Added numeric_limits support, plus embryonic test program.
John Maddock
2011-08-22 12:03:49 +00:00
a21103c7b7
Fix buglets in GMP support, add MPFR support.
John Maddock
2011-08-19 17:24:39 +00:00
acc0bbe511
Add some more modulus tests, fix regressions and add abs function for gmp_int backend.
John Maddock
2011-08-17 08:38:17 +00:00
4760f643cd
Change backend concepts to allow for easier default implementations, plus out-of-place arithmetic as well as in-place. Change non-member functions to use expression templates with result value passed to the function as "workspace".
John Maddock
2011-08-16 18:02:03 +00:00
dc54f251a4
Fix code to compile with GCC.
John Maddock
2011-08-11 16:09:23 +00:00
30fbb4d528
Add rvalue reference support. Add LINPACK benchmark test. Update arithmetic tests to work with types other than big_number. Fix precision of ostream& operator<<.
John Maddock
2011-08-11 11:28:11 +00:00
0fa9745248
Add missing #includes.
John Maddock
2011-08-09 16:25:39 +00:00
53d0691ac9
Add ldexp and frexp.
John Maddock
2011-08-08 17:13:50 +00:00
41bee8c142
Add some build warnings.
John Maddock
2011-08-08 16:15:37 +00:00
136e7b67af
Add a few non-member functions for real-valued types. Add minimal docs.
John Maddock
2011-08-08 12:27:46 +00:00
0abdf2aa36
Initial checkin of experimental bignum type.
John Maddock
2011-08-08 09:21:20 +00:00
88da98e37b
Move top-level boost directory over to "devel" (temporarily)
Douglas Gregor
2007-07-31 20:32:15 +00:00