https://bz.apache.org/SpamAssassin/show_bug.cgi?id=8028

Loren Wilton <lwil...@earthlink.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |lwil...@earthlink.net

--- Comment #7 from Loren Wilton <lwil...@earthlink.net> ---
It seems possible to me that while Perl is compiled for long doubles, there is
some piece of code that is working in normal doubles, and that is then getting
converted to a long double. The extra digits on the end of the long double
mantissa are zero, so the rounding code to handle the error in a repeating
fraction presumably doesn't kick in.

The exact representation of 2.4 in a normal IEEE double is
2.39999999999999991 118. (space added for clarity.)
The value you saw was
2.39999999999999991 xxx.

If I subtract the exact value from 2.4, I get
0.00000000000000008 882.
The error you are seeing is
0.00000000000000009 xxx.

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to