Help for this page

Select Code to Download


  1. or download this
    > my $x = 1/10;   #0.1
    > $x.^name;       #Rat
    ...
    IIRC the limit of Rat precision is e-14 ish (it gets lumpy), 
    so in the general case it is fair to round away your ...00006 to 0
    thus the Num 0.1 maps to both of these Rat options