From 4ea0a103754f8e4f9459019cb6f8750bde08cd2d Mon Sep 17 00:00:00 2001 From: Jarkko Hietaniemi Date: Mon, 30 Oct 2017 07:19:18 +0200 Subject: [PATCH] The AIX doubledouble longdouble has been left broken for three years. I must have left the test in the wrong position while working on getting it to work, and never tested it since. My apologies. With this simple trick the following failing tests start to work. ../cpan/Math-Complex/t/Complex.t ../cpan/Math-Complex/t/Trig.t ../cpan/Math-Complex/t/underbar.t ../cpan/Scalar-List-Utils/t/uniq.t ../ext/POSIX/t/math.t ../lib/warnings.t op/sprintf2.t op/time.t Or rather, the broken part of the functionality, Infinity, starts being avoided, as it should be. See the comment above about the known brokenness of long doubles and infinity in AIX. Note that even after this fix the following are still broken in this AIX (the perl5 aix machine), but these are unrelated to infnan: ../cpan/ExtUtils-MakeMaker/t/03-xsstatic.t ../dist/Storable/t/store.t ../ext/XS-APItest/t/handy00.t re/uniprops01.t re/uniprops02.t re/uniprops03.t re/uniprops04.t re/uniprops05.t re/uniprops06.t re/uniprops07.t re/uniprops08.t re/uniprops09.t re/uniprops10.t (as of blead 4faa3060) --- hints/aix.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hints/aix.sh b/hints/aix.sh index b06e399b44..7880ed3c80 100644 --- a/hints/aix.sh +++ b/hints/aix.sh @@ -584,7 +584,7 @@ fi # The missing math functions affect the POSIX extension math interfaces. case "$uselongdouble" in -'') +$define) echo "Checking if your infinity is working with long doubles..." >&4 cat > inf$$.c <