It appears that the only math related system errors handled by errno in the arm C libraries are: EDOM, ERANGE, EILSEQ,
The default behavior for divide by zero is stated as "not trapped, returns a value of zero", which is probably never desired.
There are a number of methods proposed to actually handle it, but few or no examples. Which of the various methods is recommended? Any test code to demonstrate them?