# New Ticket Created by  Zefram 
# Please include the string:  [perl #128913]
# in the subject line of all future correspondence about this issue. 
# <URL: https://rt.perl.org/Ticket/Display.html?id=128913 >


> "9.9989999999999991e0".EVAL < "9.998999999999999e0".EVAL
True

Observe that the literal with a greater nominal value yields a lower
Num value.  (The .EVAL circumlocution is required to work around [perl
#128820].)  This implies that at least one of the literals is getting
incorrect rounding, which was the subject of [perl #128912].  (In fact
the greater one is getting correct rounding and the lower one is not.
The correct roundings of both are the same.)  But this case goes beyond
the rounding merely being incorrect; with this behaviour the rounding
isn't even self-consistent.

-zefram

Reply via email to