Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re^2: [Raku] Arcane treatment of doubles and rationals

by syphilis (Bishop)
on Apr 04, 2021 at 00:24 UTC ( #11130792=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    > say 3602879701896397/36028797018963968 == 0.100000000000000006;
    False
    
  2. or download this
    $ raku -v
    Welcome to Rakudo(tm) v2021.03.
    Implementing the Raku(tm) programming language v6.d.
    Built on MoarVM version 2021.03.
    
  3. or download this
    > say 3602879701896397/36028797018963968 == 0.100000000000000006e0;
    True
    ...
    True
    > say 3602879701896397/36028797018963968 == 0.1e0;
    True
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://11130792]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (8)
As of 2021-10-20 09:22 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My first memorable Perl project was:







    Results (79 votes). Check out past polls.

    Notices?