develooper Front page | perl.perl5.porters | Postings from May 2008

Re: [perl #54590] "Can't take log of 0" error in perl 5.8.8. 64 bit

Thread Previous | Thread Next
From:
H.Merijn Brand
Date:
May 21, 2008 12:31
Subject:
Re: [perl #54590] "Can't take log of 0" error in perl 5.8.8. 64 bit
Message ID:
20080521213143.10b24614@pc09.procura.nl
On Wed, 21 May 2008 10:14:48 -0700, "Lourdes Peña Castillo" (via RT)
<perlbug-followup@perl.org> wrote:

> Hi,
> 
> If I run the following code in  perl  v5.8.8 built for
> x86_64-linux-thread-multi, l get the error "Can't take log of 0 at - line
> 1."
> 
> perl
> print log(2.5e-310)/log(10);
> ^D

I see the same for 5.10 on 32bit and 64bit

> But if I run it in perl v5.8.7 built for i486-linux-gnu-thread-multi, I get
> the answer -309.602059991328.
> 
> Is this  a known issue with perl 5.8.8. for 64bits? Thanks!

Don't know if it is a known issue, but it is probably not (yet) fixed

-- 
H.Merijn Brand         Amsterdam Perl Mongers (http://amsterdam.pm.org/)
using & porting perl 5.6.2, 5.8.x, 5.10.x  on HP-UX 10.20, 11.00, 11.11,
& 11.23, SuSE 10.1 & 10.2, AIX 5.2, and Cygwin.       http://qa.perl.org
http://mirrors.develooper.com/hpux/            http://www.test-smoke.org
                        http://www.goldmark.org/jeff/stupid-disclaimers/

Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About