We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
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?