Comment Re:Math doesn't approve (Score 1) 1067
Well, division by zero should never happen, but you want it to be handled gracefully in case it does.
You are aware that segfaults are there specifically as a graceful handling of error conditions, right? We could just have every invalid memory access return 17 if we preferred. You seem to be underestimating just how nongraceful not aborting would be. The alternative to a segfault is a program that could go do absolutely anything, unpredictably.
Nobody wants the autopilot in charge of a barge train to segfault.
I would much prefer that over the autopilot deciding that its current speed is [broken computation... division by zero... "zero"] and the desired speed is 50km/h, so hit the accelerator until the division by zero situation resolves itself.