niceguy wrote:
What idiot would attempt to divide by zero?
There is no "figure it out" as its not definable.
Every high school student is taught that.
You can be pretty sure it wasn't intentional. When you're programming
with variables, it can happen that one of them becomes zero due to
unforseen conditions. Of course, a wizardly programmer will both forsee
the possibility of those conditions and also include tests to trap
errors (like zeros in embarrassing places), but sometimes in the old
days memory was extremely tight, not permitting such "luxuries," and
then not all programmers are wizards.
--
Noah
|