Any half-way intelligent calculator should have error handling when trying to divide by zero.
I don’t know if this exercise exists in other languages, but I imagine it would need to be updated everywhere applicable.
Reference: PR perl5#523 and OK’ed to post here on behalf of @mertz@fosstodon.org.