develooper Front page | perl.perl5.porters | Postings from April 2019

[perl #134038] ext/POSIX/t/posix.t patch to fix deficiency in testsuite

Thread Previous
From:
sisyphus
Date:
April 16, 2019 12:49
Subject:
[perl #134038] ext/POSIX/t/posix.t patch to fix deficiency in testsuite
Message ID:
rt-4.0.24-3022-1555418975-1403.134038-75-0@perl.org
# New Ticket Created by  sisyphus 
# Please include the string:  [perl #134038]
# in the subject line of all future correspondence about this issue. 
# <URL: https://rt.perl.org/Ticket/Display.html?id=134038 >


Hi,
As discussed in recent postings to
https://rt.perl.org/Ticket/Display.html?id=133945, at some time in the last
few days blead stopped  using Perl_strtod to assign floating point values
and reverted to the using its buggy atof functionality instead.

There is nothing in the test suite that detects such an occurrence,
The attached patch to posix.t remedies that by checking that  specific
'double', 'long double' and '__float128' values (known to be assigned
incorrectly by perl's atof routines) are being assigned correctly.

Cheers,
Rob

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