Integer division-by-zero errors can be trapped and identified by re-implementing the appropriate C library helper functions.
The default behavior when division by zero occurs is that
when the signal function is used, or
__aeabi_idiv0() is called.
Otherwise, the division function returns zero.
__aeabi_idiv0() raises SIGFPE with an additional argument,
- Other information