Commit Graph

29 Commits

Author SHA1 Message Date
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
John Maddock
439ae1589f Add bitwise integer ops.
Reorganise proto grammar.

[SVN r74089]
2011-08-27 16:37:01 +00:00
John Maddock
b48a341d16 Add conversion routines.
Add Jamfile.
Fix broken stream operators.

[SVN r74057]
2011-08-25 16:09:57 +00:00
John Maddock
b1986d204d Add sign and is_zero functions.
Add use in boolean context.

[SVN r74042]
2011-08-24 11:27:08 +00:00
John Maddock
cdcf165e30 Add increment, decrement and bitwise-shift operators.
[SVN r74024]
2011-08-23 18:31:03 +00:00
John Maddock
5dfb34d1bd Added new backend adapter type, plus tentative e_float support.
Added numeric_limits support, plus embryonic test program.

[SVN r74004]
2011-08-22 12:03:49 +00:00
John Maddock
a21103c7b7 Fix buglets in GMP support, add MPFR support.
[SVN r73922]
2011-08-19 17:24:39 +00:00
John Maddock
acc0bbe511 Add some more modulus tests, fix regressions and add abs function for gmp_int backend.
[SVN r73840]
2011-08-17 08:38:17 +00:00
John Maddock
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".

[SVN r73819]
2011-08-16 18:02:03 +00:00
John Maddock
dc54f251a4 Fix code to compile with GCC.
[SVN r73660]
2011-08-11 16:09:23 +00:00
John Maddock
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<<.

[SVN r73649]
2011-08-11 11:28:11 +00:00
John Maddock
0fa9745248 Add missing #includes.
[SVN r73626]
2011-08-09 16:25:39 +00:00
John Maddock
53d0691ac9 Add ldexp and frexp.
[SVN r73612]
2011-08-08 17:13:50 +00:00
John Maddock
136e7b67af Add a few non-member functions for real-valued types.
Add minimal docs.

[SVN r73608]
2011-08-08 12:27:46 +00:00
John Maddock
0abdf2aa36 Initial checkin of experimental bignum type.
[SVN r73607]
2011-08-08 09:21:20 +00:00