# New Ticket Created by  Carlin Bingham 
# Please include the string:  [perl #69466]
# in the subject line of all future correspondence about this issue. 
# <URL: http://rt.perl.org/rt3/Ticket/Display.html?id=69466 >


On Ubuntu:

> say log(-Inf)
NaN
> say log10(-Inf)
NaN

This is what the spectests t/spec/S32-num/log #12 and #16 expect.


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.

As an aside, my Ubuntu Rakudo was compiled with gcc and both the
Rakudos on OpenSolaris think 1**Inf = NaN


--
Carlin

Reply via email to