# New Ticket Created by Victor ADAM # Please include the string: [perl #132329] # in the subject line of all future correspondence about this issue. # <URL: https://rt.perl.org/Ticket/Display.html?id=132329 >
How to reproduce ---------------- perl6 -e 'my ($a, $b) = (0.777777777777777777777, 0.7777777777777777777771); say $a <=> $b, " ", Num($a) <=> Num($b)' Expected behavior ----------------- Prints `Less Less`, or `Less Same`, depending on how rounding is done. Actual behavior --------------- Prints `Less More`. This seems inconsistent: $a is strictly smaller than $b, yet Num($a) is strictly larger than Num($b). Version information ------------------- This is Rakudo version 2017.09 built on MoarVM version 2017.09.1 implementing Perl 6.c. This may be related to https://rt.perl.org/Public/Bug/Display.html?id=132313