Subject: | Test fails on -Duselongdouble boxes |
# Failed test '"something else: has a tscore of 1.72489160059353'
# at t/ngram.t line 48.
# got: '1.7248916005935306'
# expected: '1.72489160059353'
# Looks like you failed 1 test of 21.
This happens on 64 bit boxes that have perl compiled with
-Duselongdouble. It's dnagerous to use "is" for floating point numbers as in
is( $$tscore{ 'something else' }, 1.72489160059353, '"something else:
has a tscore of 1.72489160059353' );
Thanks && Regards,