Help for this page

Select Code to Download


  1. or download this
    $ raku -e 'my $r = 3602879701896397/36028797018963968; say $r.raku; sa
    +y $r.raku == $r;'
    0.1000000000000000055511151231257827021181583404541015625
    True
    
  2. or download this
    $ perl -le 'printf "%.800g\n", 0.1'
    0.1000000000000000055511151231257827021181583404541015625
    $
    
  3. or download this
    $ raku -e 'printf "%.800g\n", 0.1e0'
    NaN
    $