On Tue, 29 Sep 2009, Carlin Bingham wrote:
> On OpenSolaris using Rakudo with a Parrot that was compiled with SunStudio CC:
>
> > say log(-Inf)
> NaN
> > say log10(-Inf)
> NaN
>
>
> On OpenSolaris using Rakudo with a Parrot that was compiled with gcc
> (both 3.4.3 and 4.3.2):
>
> > say log(-Inf)
> -Inf
> > say log10(-Inf)
> -Inf
>
>
> As I have no idea what is happening there, I'm not sure if this is a
> Rakudo bug, Parrot bug, OpenSolaris bug or GCC bug so apologise if
> this isn't a problem with Rakudo.
This may be related to the -xlibmieee flag. See
parrot/config/init/hints/solaris.pm for details. You can also see a long
discussion (Solaris-specific stuff is at the end) at
http://rt.perl.org/rt3//Public/Bug/Display.html?id=34549
--
Andy Dougherty [email protected]