Subject: | t/020-unpack.t fails with -Duselongdouble |
If perl is compiled with increased floating point accuracy (with -Duselongdouble) then the test suite fails:
...
# Failed test 'double'
# at t/020-unpack.t line 192.
# got: '3.14192600000000022'
# expected: '3.141926'
# Failed test 'array in hash in hash'
# at t/020-unpack.t line 192.
# Structures begin differing at:
# $got->{c}{d}[2] = '2.56000000000000005'
# $expected->{c}{d}[2] = '2.56'
# Looks like you failed 2 tests of 34.
t/020-unpack.t ........
Dubious, test returned 2 (wstat 512, 0x200)
Failed 2/34 subtests
...
Seen on a freebsd and a linux system.