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

[perl #129954] dist/Carp/t/arg_string.t: Test fails in blead

Thread Previous | Thread Next
From:
Dan Collins via RT
Date:
October 24, 2016 13:26
Subject:
[perl #129954] dist/Carp/t/arg_string.t: Test fails in blead
Message ID:
rt-4.0.24-22193-1477315603-1661.129954-14-0@perl.org
Here is the bisect:

HEAD is now at 0e25d86 vax-netbsd: do not tempt fp overflow, which will SIGFPE
bad - non-zero exit from sh -c cd t && ./perl TEST \.\.\/dist\/Carp\/t\/arg_string\.t
0e25d864d83173c105cdabb68813b14c94bae966 is the first bad commit
commit 0e25d864d83173c105cdabb68813b14c94bae966
Author: Jarkko Hietaniemi <jhi@iki.fi>
Date:   Fri Oct 21 09:05:25 2016 -0400

    vax-netbsd: do not tempt fp overflow, which will SIGFPE

    The 3e100 seems to have no special meaning, except being in floating point.

:040000 040000 f9f6d9eb328f42f4573a324789155e44f5f23e6e 5585ec7f232fb5471a6de76756fd3588dbcdd489 M      dist
bisect run success
That took 424 seconds.

Which modified the above test to change from a 3-digit exponent to a 2-digit exponent, and to significantly shorten it. I'd be happy to provide a patch to add an optional leading zero to the test, but I don't know how to handle the issue of Linux trying to print the value as a 37 digit integer. What's the correct behavior here?

-- 
Respectfully,
Dan Collins

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