summaryrefslogtreecommitdiff
path: root/hints
diff options
context:
space:
mode:
authorKarl Williamson <khw@cpan.org>2019-04-29 18:46:51 -0600
committerKarl Williamson <khw@cpan.org>2019-05-01 20:45:22 -0600
commit9ddfdb573eecc4201e23e59c82335dbdd9e7c7d3 (patch)
tree1d4257eeb79c129b537e0f90e88db592c50a3eca /hints
parent7c7a699539cc91c1c6eb5417b7d466f5ad1db7b9 (diff)
downloadperl-9ddfdb573eecc4201e23e59c82335dbdd9e7c7d3.tar.gz
PATCH: [perl #134031] BBC breake Math::Clipper
This turns out to be that strtod() is less accurate on this platform than atof(). I looked at the difference, and a test failed that was failing in this module was the difference between a 0 and a 1 in the final digit. The solution is to forbid in the hints file using strtod
Diffstat (limited to 'hints')
-rw-r--r--hints/freebsd.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/hints/freebsd.sh b/hints/freebsd.sh
index bf89069437..696b468570 100644
--- a/hints/freebsd.sh
+++ b/hints/freebsd.sh
@@ -345,6 +345,10 @@ case "$cc" in
;;
esac
+# This gives worse accuracy than atof() ! [perl #134031]
+d_strtod='undef'
+d_strtod_l='undef'
+
case `uname -p` in
arm|mips)
;;