Hello,
Our project uses floating point calculations, the results of which we need to check for overflow and underflow. I've tried including the <fenv.h> library, which I can verify is a part of the compiler's core libraries, but the overflow and underflow exceptions aren't being raised. Turning on the FENV_ACCESS(ON) #pragma doesn't work either and CCS issues a warning that the #pragma is unrecognized.
I'm wondering if there's an interrupt vector that's generated or perhaps some register flags that could be read to detect overflow/underflow?
Additional information if it helps - the compiler used is TI v20.2.0.LTS.
Thank you,
James