Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sdd.hp.com!decwrl!shelby!eos!amelia!globus From: globus@nas.nasa.gov (Al Globus) Newsgroups: comp.sys.sgi Subject: detecting integer overflow Message-ID: Date: 21 Aug 90 18:48:37 GMT Sender: news@amelia.nas.nasa.gov Distribution: comp.sys.sgi Organization: Applied Research Office, NASA Ames Research Center Lines: 8 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?