This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

AM4377: Floating point division by 0

Expert 1700 points
Part Number: AM4377

Hi,

We are using the Sitara AM4377. The CPU includes a NEON and vector floating point (VFPv3) coprocessors. We noticed that after a single precision (double precision was not tested) floating point division by 0, the code sometimes hangs (we are using OS), and if the code doesn’t hang, there are cases where after the division by 0, we get 0 as a result of further floating point calculations even though we expect non-zero results, and this behavior is consistent. We have the following questions:

  1. Is the described behavior normal?
  2. Which coprocessor executes the floating point calculations, the NEON or the VFP coprocessor?
  3. Is there a way to capture or to handle floating point division by 0, something like exception handler?
  4. Is there a document that describes what happens upon floating point division by 0?

Thank you in advance.