This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

numerical error handling with arm libraries

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?

Parents Reply Children
No data