A division problem

bearophile bearophileHUGS at lycos.com
Mon Mar 24 03:50:16 PDT 2014


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


More information about the Digitalmars-d mailing list