Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re^3: Test::More how come?

by keszler (Priest)
on Jan 30, 2013 at 17:24 UTC ( #1016113=note: print w/ replies, xml ) Need Help??


in reply to Re^2: Test::More how come?
in thread Test::More how come?

Try:

perl -e 'printf "%.32g\n", -2.3 - -0.6;' -1.6999999999999997
See for other examples Perl 5.8.x floating point representation error, RFC: Large Floating Point Numbers - Rounding Errors, etc.


Comment on Re^3: Test::More how come?
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (10)
As of 2014-07-29 19:47 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (226 votes), past polls