in reply to Strange int behaviour?

Does this explain it for you?

printf "%.17f\n", 1.15 - 1;; 0.14999999999999991

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". I'm with torvalds on this
In the absence of evidence, opinion is indistinguishable from prejudice. Agile (and TDD) debunked

Replies are listed 'Best First'.
Re^2: Strange int behaviour?
by DreamT (Pilgrim) on Mar 10, 2015 at 09:26 UTC
    Yes, indeed:) Thank you!