[phobos] phobos commit, revision 2252

Don Clugston dclugston at googlemail.com
Sun Jan 2 22:12:49 PST 2011


Yeah, I'll take of std.math.

On 3 January 2011 00:04, Brad Roberts <braddr at puremagic.com> wrote:
> On 1/2/2011 2:43 PM, Don Clugston wrote:
>> 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.
>
> Yup.. closer every day too. :)
>
> Let me know if you want me to reduce any of those failures, otherwise I'll
> continue with the other parts.
>
> Thanks,
> Brad
> _______________________________________________
> phobos mailing list
> phobos at puremagic.com
> http://lists.puremagic.com/mailman/listinfo/phobos
>


More information about the phobos mailing list