detecting integer overflow

Al Globus globus at nas.nasa.gov
Wed Aug 22 04:48:37 AEST 1990


I have a program that can potentially generate an integer overflow.
I'd like to detect this when it happens and deal with it.  According
to SGI's Hotline folks, no can do.  The OS catches the interrupt
and then allows the process to go on its merry way with no mechanism
to detect the overflow.

Is there really no way?  There's good mechanisms for floating point
exceptions, why not for integer exceptions?



More information about the Comp.sys.sgi mailing list