Subject: | accuracy problem in t/typemap/function.t (1.1.1) |
On a freebsd system where perl is compiled with -Duselongdouble the test suite fails:
...
# Failed test at t/typemap/function.t line 28.
# got: '3.14000000000000012'
# expected: '3.14'
# Looks like you failed 1 test of 3.
# Failed test 'int(int,double)'
# at t/typemap/function.t line 32.
# Failed test at t/typemap/function.t line 37.
# got: '3.14000000000000012'
# expected: '3.14'
# Looks like you failed 1 test of 3.
# Failed test 'int(int,double) custom'
# at t/typemap/function.t line 41.
# Looks like you failed 2 tests of 7.
# Failed test 'sub->function'
# at t/typemap/function.t line 59.
# Looks like you failed 1 test of 2.
t/typemap/function.t ................
Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/2 subtests
...