Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
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?
[Corion]: Hmm - nVidia GTX 1070 + Vive makes EUR 1130, leaving EUR 370 for CPU+case+cooler+ RAM - not bad
[Corion]: (I'm not a fan of AMD)
[Corion]: On the other hand, the Radeon 580 RX would cost 380 instead of 430 ... But still, that's ATi and I've been unhappy with ATi drivers the two times I had one in my desktops

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (10)
As of 2017-08-21 08:38 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Who is your favorite scientist and why?



























    Results (319 votes). Check out past polls.

    Notices?