Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re: [perl6] More Inline::Perl5 musings

by duelafn (Parson)
on Mar 17, 2016 at 16:28 UTC ( [id://1158122]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    # Not yet:
    $ perl6 -e 'my num128 $one = Num(1); $one += 1e-30; say $one == 1'
    False
    
  2. or download this
    $ perl6 -e 'my $one = 1; $one += 1e-16; say $one == 1'
    True
    ...
    (Num)
    $ perl6 -e 'my $val = sin(pi/2) + 0.1; my $eleven = 0; $eleven += $val
    + for 1..10; say $eleven == 11'
    False
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others learning in the Monastery: (5)
As of 2024-04-19 17:17 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found