Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Re^2: floating point addition

by syphilis (Archbishop)
on Jan 12, 2015 at 23:35 UTC ( [id://1113010]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    C:\>perl -MMath::Decimal64 -le "$x=Math::Decimal64->new(0); $x += Math
    +::Decimal64->new('20.1') for (1..43);print $x;"
    8643e-1
    
  2. or download this
    perl -MMath::Decimal64 -le "$x=Math::Decimal64->new(0); $x += '20.1' f
    +or (1..43);print $x;"
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others meditating upon the Monastery: (6)
As of 2024-04-16 20:40 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found