Wednesday, February 06, 2013

[bficqzgy] No integer division

Consider a programming language that does not provide integer division as one of its standard operators.  The function divMod, which returns both quotient and remainder, is available, so always forcing the programmer to consider the possibility of the division not coming out evenly.

No comments :