Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
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 studying the Monastery: (5)
As of 2015-07-03 00:13 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (47 votes), past polls