testing for math overflow

Status
Not open for further replies.

brianmichalk

Active member
I'm surprised to find no results on a search of this.

I assume this is not standard C, but is there a way, perhaps an already defined macro that will test an overflow bit in the CPU and return whether or not an integer or float operation resulted in an overflow?

Edit: This is for Teensy 3.2.
 
Status
Not open for further replies.
Back
Top