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.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1016113]
help
Chatterbox?
[shmem]: they are too close to each other
[shmem]: J.S.Bach said: "playing Clavier is darn easy. All you have to do is to push the right key with the right finger at the right time."
[shmem]: same for programming and creating bugs.

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (7)
As of 2017-04-27 14:29 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I'm a fool:











    Results (508 votes). Check out past polls.