develooper Front page | perl.perl5.porters | Postings from October 2003

Re: [perl #24091] Not OK: perl v5.8.1 on sgi6-irix-ld 6.5

Thread Previous
From:
John P. Linderman
Date:
October 7, 2003 03:21
Subject:
Re: [perl #24091] Not OK: perl v5.8.1 on sgi6-irix-ld 6.5
Message ID:
200310071020.GAA80957@raptor.research.att.com
> 
> BTW, in regard to the pow.t tests, the following is weird:
> 
> my @pow = ([3,30,1e-14],
>            [4,32,0],
>            [5,20,1e-14],
>            [2.5, 10,,1e-14],
>            [-2, 69,0],
>            [-3, 30,0],
> );
> 
> In the above, the test for powers of 3 has an epsilon of 1e-14 (which all of
> the pow.t test failures seen are well below). But the test for powers of -3
> has an epsilon of 0. This is inconsistent. Why should -3**$x be more precisely
> determined than 3**$x? The above was added with change 20169, BTW.

The [2.5, 10,,1e-14] test, with its extra comma, is particularly weird :-)
-- jpl


Thread Previous


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