Subject: | Test suite fails with uselongdouble |
On a linux system with a perl compiled with -Duselongdouble:
Output from '/usr/bin/make test':
PERL_DL_NONLAZY=1 "/bbbike/perl-5.20.1D/bin/perl" "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
Your perl NV has more precision than PDL_Double. There will be loss of floating point precision!
# Failed test at t/basic.t line 33.
# Structures begin differing at:
# $got->[2] = '151.300000000000011'
# $expected->[2] = '151.3'
# Failed test at t/basic.t line 34.
# Structures begin differing at:
# $got->[0][0][2] = '251.100000000000023'
# $expected->[0][0][2] = '251.1'
# Looks like you failed 2 tests of 6.
t/basic.t ....
Dubious, test returned 2 (wstat 512, 0x200)
Failed 2/6 subtests
Your perl NV has more precision than PDL_Double. There will be loss of floating point precision!
t/compile.t .. ok
See also:
http://analysis.cpantesters.org/solved?distv=PDL-Apply-0.001