Indeed you don't.
Division can't "fail"; rather it has inputs for which it's not defined, and for which attempting to perform it is a programming error.
-
-
In a sense, on a tightly-controlled embedded system running a fixed known set of software, OOM is a "programming error" just like division-by-zero; the problem is that the point of the error (leak/excess usage) is not easily detectable...
-
...and languages don't provide means for static analysis proofs that it doesn't happen.
End of conversation
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.