On 2 January 2011 08:09, Brad Roberts <[email protected]> wrote: > On 1/1/2011 10:42 PM, Don Clugston wrote: >> On 2 January 2011 00:26, dsource.org <[email protected]> wrote: >>> phobos commit, revision 2252 >>> >>> >>> user: braddr >>> >>> msg: >>> Integrate changes from the d1 branch, still not enough to pass the >>> std/math.d unit tests. >>> >>> http://www.dsource.org/projects/phobos/changeset/2252 >>> >>> paths changed: >>> U trunk/phobos/std/math.d >> >> Which test is failing? > > I'll need to spend time to reduce it. It's segv'ing and the dwarf debug info > make gdb decidedly unhappy still. Some possibly very inaccurate info suggests > that it might be the cos unit tests which all seem to be imaginary number > tests.
It's segfaulting in exp, which is not surprising -- I haven't made a 64 asm version of exp. Disabling all of the tests which use exp(), which includes sinh(), cosh(), and complex sin and cos, it fails a couple of other tests: sqrt(2) for ubyte, and nextUp(double.min_normal) fails. I think there might be a compiler bug with the floating point equality involving implicit casts -- not sure. But almost all of the tests are passing. Obviously we're very close. _______________________________________________ phobos mailing list [email protected] http://lists.puremagic.com/mailman/listinfo/phobos
