Open andk opened 9 years ago
A failure with uselongdouble perls still happens with the recent Rstats-0.0149 release:
# Failed test at t/operator-math.t line 588.
# Structures begin differing at:
# $got->[2] = '0.399999999999999911'
# $expected->[2] = '0.4'
In if (a) { : the condition has length > 1 and only the first element will be used at /home/cpansand/.cpan/build/2018040706/Rstats-0.0149-LXikMZ/blib/lib/Rstats/Object.pm line 99.
# Looks like you failed 1 test of 179.
t/operator-math.t .....
Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/179 subtests
As per subject. Sample fail report: http://www.cpantesters.org/cpan/report/61418379 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)