Commit graph

23 commits

Author SHA1 Message Date
David Simcha
8aede6061f Attempt number 2: Work around Bug 4298 in gammafunction and errorfunction code. 2010-11-29 13:57:37 +00:00
Don Clugston
6d5104ceb5 Relaxed tolerance on betaIncompleteInv unit test. The fact that a 0.8-bit error in log() caused a 38 bit change in the result, is a nice demonstration of how difficult this function is to calculate. BTW Mathematica crashes on this calculation. 2010-11-29 08:31:51 +00:00
Don Clugston
5db6dad8c1 Increase tolerance of this test, now that we know that failure is caused by a small imprecision in AMD's microcode. 2010-11-28 20:11:36 +00:00
Don Clugston
d0c8affabc Some tougher, more accurate unit tests for betaIncomplete. Possibly these will shed more light on the AMD/Intel difference. 2010-11-23 21:50:05 +00:00
David Simcha
172ec1dc1a Revert the last changeset. 2010-11-20 22:48:31 +00:00
David Simcha
66bdf06479 Work around Bug 4298 in gammafunction and errorfunction code. 2010-11-20 22:02:35 +00:00
Don Clugston
09667828b6 Enable unittests which used to fail, but are working now. 2010-11-19 22:25:28 +00:00
Don Clugston
876bf9789d Added std.mathspecial. Only 14 functions are included at this stage. 2010-11-18 19:55:57 +00:00
Don Clugston
1afd555921 pure/nothrow internal compatibility for BigInt. (Not yet marked as such). 2010-11-12 08:10:27 +00:00
Don Clugston
9d7622586a Fix for BigInt assign for 64 bit compilers. Also a few steps towards const correctness, and some comment fixes. 2010-10-25 07:30:38 +00:00
Don Clugston
b929dcf0ec Fix bug 4742 int % BigInt should work.
Also improved code formatting.
2010-09-21 01:49:44 +00:00
Don Clugston
3c369fa19e 4872 std.bigint problem with negative numbers
This one made bigint unusable.
2010-09-15 22:06:34 +00:00
Walter Bright
b8ce58ccd1 detab sources 2010-08-23 02:14:45 +00:00
Andrei Alexandrescu
3f2b8c12ea 64-bit compatibility work 2010-08-22 20:55:22 +00:00
Don Clugston
98aec1ce64 Reinstated bigint unit tests. Please confirm that these pass on OSX with DMD2.048. 2010-08-11 14:50:06 +00:00
Andrei Alexandrescu
4f27b04a06 Commented out failing asserts when unittesting under OSX. Don, could you please verify? 2010-07-28 07:51:52 +00:00
Don Clugston
2b6b4aff56 Fix bug 4470 Problems with std.bigint mod and divide 2010-07-17 06:26:24 +00:00
Don Clugston
ac02c8922f Fix bug 4452: Incorrect result of BigInt ^^ long 2010-07-14 06:59:38 +00:00
Sean Kelly
f036f4ddcb Set native eol-style for some files that didn't have it. 2010-07-06 19:16:04 +00:00
Don Clugston
33ee9fbaaf B sting: a&b==c bug. 2010-06-21 20:21:26 +00:00
Don Clugston
07b8f99d2f Removed workaround for compiler bug 3896, which is now fixed. 2010-06-08 19:35:10 +00:00
Don Clugston
9b8fec0f82 Oops -- I forgot that this bug has only been fixed in my version of DMD <g>. 2010-03-24 21:20:47 +00:00
Don Clugston
0a8a8a39c5 High-performance BigInt, initial release. Posix makefile has not yet been updated. 2010-03-24 21:13:24 +00:00