in reply to floating point addition

May be this will give you a clue:

[0] Perl> printf "%20.17f\n", 20.1;; 20.10000000000000100

Then read:Re: Re: Re: Bug? 1+1 != 2.


With the rise and rise of 'Social' network sites: 'Computers are making people easier to use everyday'
Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
"Science is about questioning the status quo. Questioning authority".
In the absence of evidence, opinion is indistinguishable from prejudice. Agile (and TDD) debunked

Replies are listed 'Best First'.
Re^2: floating point addition
by kresike (Initiate) on Jan 12, 2015 at 16:40 UTC
    Yeah, it never occurred to me to check that. Thanks.