Daniel Murphy:

Newbies have to realize that integers aren't real numbers eventually.

Of course. But from reviewing plenty of code, I have seen that unfortunately even programmers with some experience once in a while create this bug. Because you have to keep attention to the types of each division usage, and once in a while your attention slips (or perhaps some bugs of this kind are created by successive type changes).

Bye,
bearophile

Reply via email to