[phobos] phobos commit, revision 2252

Don Clugston dclugston at googlemail.com
Sun Jan 2 14:43:42 PST 2011


On 2 January 2011 08:09, Brad Roberts <braddr at puremagic.com> wrote:
> On 1/1/2011 10:42 PM, Don Clugston wrote:
>> On 2 January 2011 00:26, dsource.org <noreply at dsource.org> 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.


More information about the phobos mailing list