4.7. Trapping and identifying division-by-zero errors
It is important to eliminate any division-by-zero errors in code, particularly for embedded systems, which might not be able to recover easily. For ARM processor cores, division-by-zero errors fall into two categories:
Different techniques are required in both cases for trapping and identifying these errors.