Subject: | [patch] test failures with Perl 5.12.0 -- float math |
Date: | Thu, 22 Apr 2010 17:05:23 +0300 |
To: | bug-Ogg-Vorbis-Decoder [...] rt.cpan.org |
From: | Damyan Ivanov <dmn [...] debian.org> |
Hi,
Please find attached a patch fixing test failure with Perl 5.12.0
(built with -Duselongdouble).
From the Debian bug report (http://bugs.debian.org/578554):
# Failed test 'time_total'
# at t/basic.t line 22.
# got: '187.146666666666675'
# expected: '187.146666666667'
# Looks like you failed 1 test of 20.
The patch replaces the hard-coded 187.146666666667 constant with an
expression giving the same result, but using the same precision as the
running Perl interpreter.
Please consider integrating the patch in a future release.
Thanks,
dam
Debian Perl Group