chart-clicker icon indicating copy to clipboard operation
chart-clicker copied to clipboard

t/axis-division-rounded.t test fails on FreeBSD 10.1 with -Duselongdouble

Open eserte opened this issue 10 years ago • 0 comments

On FreeBSD 10 systems with perl compiled with -Duselongdouble the t/axis-division-rounded.t test fails:

#   Failed test 'Nicely rounded tick values - large scale 3 ticks'
#   at t/axis-division-rounded.t line 70.
#     Structures begin differing at:
#          $got->[0] = '0.00720000000000000035'
#     $expected->[0] = '0.0072'

#   Failed test 'Nicely rounded tick values - large scale 3 ticks'
#   at t/axis-division-rounded.t line 85.
#     Structures begin differing at:
#          $got->[0] = '1.56720000000000008'
#     $expected->[0] = '1.5672'
# Looks like you failed 2 tests of 8.
t/axis-division-rounded.t ....... 
Dubious, test returned 2 (wstat 512, 0x200)
Failed 2/8 subtests 

This does not happen on other systems using -Duselongdouble (e.g. Linux).

eserte avatar Feb 14 '15 11:02 eserte