Jan-20-2020, 05:05 PM
Technically you should only be preventing a divide BY zero (a zero in the denominator). Zero divided by zero is undefined and zero divided by any other number is zero.
In your case, you should only be guarding against y == 0.
In your case, you should only be guarding against y == 0.
"So, brave knights, if you do doubt your courage or your strength, come no further, for death awaits you all with nasty, big, pointy teeth!" - Tim the Enchanter