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:
Ed Allen Smith
Date:
October 6, 2003 11:39
Subject:
Re: [perl #24091] Not OK: perl v5.8.1 on sgi6-irix-ld 6.5
Message ID:
mid+200310061839.h96Id02V854460@dogberry.rutgers.edu

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.

	   -Allen

-- 
Allen Smith                       http://cesario.rutgers.edu/easmith/
February 1, 2003                               Space Shuttle Columbia
Ad Astra Per Aspera                     To The Stars Through Asperity



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