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

From:
Yitzchak Scott-Thoennes
Date:
October 7, 2003 12:25
Subject:
Re: [perl #24091] Not OK: perl v5.8.1 on sgi6-irix-ld 6.5
Message ID:
20031007192507.GA3020@efn.org
On Tue, Oct 07, 2003 at 12:20:17PM -0700, Yitzchak Scott-Thoennes <sthoenna@efn.org> wrote:
> $result = floor($result+.5) if abs($result/floor($result+.5)) < 1e-14

That should have been:

$result = floor($result+.5) if $result != 0 &&
                               abs(floor($result+.5)/$result) < 1e-14;



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