D-Programming-Language/phobos — pull request #902 by quickfur (2012-10-27 18:45:32+00:00)
Title: Throw exception upon division by zero. (issue 8021)

Instead of trying to trigger an integer divide by zero, which seems to
get "optimized" out by the compiler, causing control to return to the caller, ending in an infinite loop.

Also, forcing an integer divide by zero on Linux triggers a "floating point exception", which is rather unhelpful compared to an exception that says "BigInt divide by zero".