[Python-Dev] 2.2.1c1 platform reports.

Hye-Shik Chang perky@fallin.lv
Fri, 22 Mar 2002 22:55:08 +0900


On Fri, Mar 22, 2002 at 11:44:52AM +0000, Michael Hudson wrote:
> 
> OS: FreeBSD
> 
> test_math.test_exceptions blows up with "sqrt(-1) does not raise
> ValueError".  It seems FreeBSD's libm doesn't set errno in this case,
> and that MacOSX has inherited this behaviour (see below)
> 
> OS: OpenBSD
> 
> test_signal hangs on the sf compile farm.  We've had reports of this
> before.  I can't be bothered to dig into it today.
> 
> OS: NetBSD
> 
> no reports.
> 

All *BSDs are using msun of Sun as math library.
NetBSD and OpenBSD may be same with FreeBSD.

ENTRY(__ieee754_sqrt)
        fldl    4(%esp)
        fsqrt
        ret

double sqrt(double x)           /* wrapper sqrt */
{
        return __ieee754_sqrt(x);
}

I'll submit PR to both of FreeBSD and NetBSD.

Regards,

--
Hye-Shik Chang <perky@fallin.lv>
Yonsei University, Seoul