PDA

View Full Version : overflow / underflow


Murray Bonner
05-24-2002, 09:48 AM
Is there any way to determine (in C or C++ code) if an arithmetic operation caused overflow or underflow? i.e. is there a status word that can be checked?

Particularly for FMUL(), FDIV(), etc. but also in the case of integer arithmetic.

Thanks.