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.

Linux/DM3730: floating point exception

Guru 20755 points

Part Number: DM3730

Tool/software: Linux

Hello,

I am trying to invoke floating point exception in bare metal but without success yet.

In the TRM (sprugn4) I could not find any details about the floating point exception.

I do have success in catching other exception (undefined command for example), but not floating point exception.

This is what I did this far:

1. I verified that floating point is supported in compiler

2. I also see that the numbers are printed as float, and when trying to divide 2 floats, 0/0 it gives inf in the result (but no exception).

Can anyone please give some hints how we can generate a floating point exception ?

Is it masked somehow by default ?

Thanks,

Ran