Subject: | Fails on perls with nvsize != 8 (as with 64bit perls compiled with -Duselongdouble) |
As per subject.
Insufficient rounding in one of the tests seems to be the key to
understand the issue. Floating point numbers should never be compared on
string equality.
There are no cpan testers results yet visible, so I copy a bit of the
diagnostics output:
# Failed test 'Testing new_complx'
# at t/new_cmplx.t line 20.
# got: '7.38905609893065041'
# expected: '7.38905609893065023'
# Looks like you failed 1 test of 1.
t/new_cmplx.t ........
Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/1 subtests
HTH&&Regards,