On 2014-10-25 12:12:07, ANDK wrote:
Show quoted text> As per subject. Sample fail report:
>
>
http://www.cpantesters.org/cpan/report/46850139
>
> On a first glance these all look like rounding errors on floating
> point numbers. Maybe you want to deploy Test::Number::Delta for the
> test, it provides a convenient interface.
>
> HTH && Thanks,
> (Disclaimer: this was discovered by statistical analysis, I'm not
> speaking as a user)
Fails also with 0.15, and seems to fail only for perls compiled with -Duselongdouble:
# Failed test at t/Vector.t line 156.
# An error occurred while using eq:
# ------------------------------------
# Operation "eq": no method found,
# left argument in overloaded package Math::Complex,
# right argument has no overloaded magic at (eval in cmp_ok) t/Vector.t line 156.
#
# ------------------------------------
# got: '3.14159265326052098'
# expected: '3.14159265358979324'
# Looks like you failed 1 test of 114.
t/Vector.t .............
Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/114 subtests