Unfortunately, my changes to Perl 5 have been working better than my
changes to Parrot.  IIRC, the changes made fixed OpenBSD and NetBSD on
Parrot while Cygwin and Solaris didn't seem to fare as well.

Steve

On Thu, Jul 17, 2008 at 7:29 PM, Thorsten Glaser via RT
<[EMAIL PROTECTED]> wrote:
> On Wed Jul 16 10:33:06 2008, Whiteknight wrote:
>> Is this still not resolved?
>
> On MirBSD (perl $^O 'mirbsd'), whose libm is about 85% NetBSD,
> 15% OpenBSD, the Perl test succeeds.
>
> The following lines in perl/pp.c already trigger:
>     38 /*
>     39  * Some BSDs and Cygwin default to POSIX math instead of IEEE.
>     40  * This switches them over to IEEE.
>     41  */
>     42 #if defined(LIBM_LIB_VERSION)
>     43     _LIB_VERSION_TYPE _LIB_VERSION = _IEEE_;
>     44 #endif
>
> I _suspect_ this would work on OpenBSD and NetBSD as well,
> but it's better to check with actual users of the system.
> I got this via IRC from a NetBSD developer:
> 00:16│«replaced» $ perl -le'print atan2(-0.0,-0.0)'
> 00:16│«replaced» -3.14159265358979
>
> This matches mine:
> [EMAIL PROTECTED]:~ $ perl -le'print atan2(-0.0,-0.0)'
> -3.14159265358979
>
> I think the bit less of precision is due to us trying to
> avoid the i387 issue of intermediate high precision (the
> FPCW is initialised to low precision by the kernel, which
> may be a good thing).
>
> bye,
> //mirabilos
> --
>  "Using Lynx is like wearing a really good pair of shades: cuts out
>   the glare and harmful UV (ultra-vanity), and you feel so-o-o COOL."
>                                         -- Henry Nelson, March 1999
>
>

Reply via email to