Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re^7: Small Perl 6 discoveries II, Rats

by Anonymous Monk
on Sep 28, 2017 at 14:22 UTC ( [id://1200277]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    > 3e-1 - Num(.3)
    5.55111512312578e-17
    
  2. or download this
    > printf "%.100f\n", .3
    0.30000000000000000000000000000000000000000000000000000000000000000000
    +00000000000000000000000000000000
    ...
    0.30000000000000000000000000000000000000000000000000000000000000000000
    +00000000000000000000000000000000
    > printf "%.100f\n", Num(.3)
    0.30000000000000000000000000000000000000000000000000000000000000000000
    +00000000000000000000000000000000
    
  3. or download this
    use Inline::Perl5;
    my $p5 = Inline::Perl5.new;
    ...
    0.29999999999999998889776975374843459576368331909179687500000000000000
    +00000000000000000000000000000000
    0.29999999999999998889776975374843459576368331909179687500000000000000
    +00000000000000000000000000000000
    0.30000000000000004440892098500626161694526672363281250000000000000000
    +00000000000000000000000000000000
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others sharing their wisdom with the Monastery: (3)
As of 2024-04-26 01:21 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found