Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re: Strange rounding Error in Perl

by Enlil (Parson)
on Nov 21, 2004 at 20:37 UTC ( #409418=note: print w/ replies, xml ) Need Help??


in reply to Strange rounding Error in Perl

Here are a couple of links to answer your question:

Bug? 1+1 != 2 (be sure to read Re: Re: Re: Bug? 1+1 != 2 for a good explaination)

What Every Computer Scientist Should Know About Floating-Point Arithmetic

and a current thread alond the same lines: Math 101 anyone?

-enlil


Comment on Re: Strange rounding Error in Perl

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (5)
As of 2015-07-04 23:37 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 (60 votes), past polls