Hi,
When run under Perl 5.12.0 (built with -Duselongdoubles) on amd64 the
following tests fail:
# Failed test 'Negative doubles'
# at t/01-types-from-js.t line 24.
# got: '-1.10000000000000009'
# expected: '-1.1'
# Failed test 'Positive doubles'
# at t/01-types-from-js.t line 26.
# got: '1.10000000000000009'
# expected: '1.1'
# Looks like you failed 2 tests of 20.
t/01-types-from-js.t ..............
This was reported as Debian bug http://bugs.debian.org/578548
The attached patch addresses this by replacing the equality tests with
tests if the difference between the expected and the real result is very
small.
It would be nice if the patch is included in a future release.
Thanks.