Subject: | Test suite fails on systems with increased floating point accuracy (0.05) |
If perl was compiled with increased floating point accuracy (i.e. with the configuration option -Duselongdouble), then the test suite fails:
...
# Failed test at t/10-load.t line 27.
# Structures begin differing at:
# $got->{a} = '1.10000000000000009'
# $expected->{a} = '1.1'
# Failed test at t/10-load.t line 57.
# Structures begin differing at:
# $got->{key8} = '-1.00000000000000004e-10'
# $expected->{key8} = '-1e-10'
# Looks like you failed 2 tests of 38.
t/10-load.t ......
Dubious, test returned 2 (wstat 512, 0x200)
Failed 2/38 subtests
...
(Checked on a freebsd 12 system with perl 5.28.1)