Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re: Comparing results of math operations

by Anonymous Monk
on Apr 17, 2014 at 07:59 UTC ( #1082606=note: print w/ replies, xml ) Need Help??


in reply to Comparing results of math operations

The 0.95 * 806, 1.3 * 589 example; gives me

765.699999999999932 765.700000000000045

when I use the 10-digit calculator trick of subtracting off the leading digits and multiplying by 10, to see the hidden digit off to the right.


Comment on Re: Comparing results of math operations
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (6)
As of 2015-07-29 07:06 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 (260 votes), past polls