Subject: | Tests fail with -Duselongdouble |
If perl is compiled with -Duselongdouble, then t/001_pglite_tests.t fails (seen on a freebsd and debian/wheezy system, both with perl 5.20.1):
# Failed test 'degrees()'
# at t/001_pglite_tests.t line 43.
# got: '57.2957795130823209'
# expected: '57.2957795130823'
# Failed test 'exp()'
# at t/001_pglite_tests.t line 44.
# got: '2.71828182845904524'
# expected: '2.71828182845905'
# Failed test 'ln()'
# at t/001_pglite_tests.t line 46.
# got: '0.693147180559945309'
# expected: '0.693147180559945'
# Failed test 'log() - 1-arg form'
# at t/001_pglite_tests.t line 47.
# got: '0.301029995663981198'
# expected: '0.301029995663981'
# Failed test 'pi()'
# at t/001_pglite_tests.t line 50.
# got: '3.14159265358979324'
# expected: '3.14159265358979'
# Failed test 'radians()'
# at t/001_pglite_tests.t line 52.
# got: '0.0174532925199432958'
# expected: '0.0174532925199433'
# Failed test 'cot()'
# at t/001_pglite_tests.t line 65.
# got: '99999999.9999999946'
# expected: '100000000'
# Looks like you failed 7 tests of 89.
t/001_pglite_tests.t ..
Dubious, test returned 7 (wstat 1792, 0x700)
Failed 7/89 subtests
t/002_mirror_tests.t .. ok