Path: utzoo!utgpu!news-server.csri.toronto.edu!mailrus!uwm.edu!cs.utexas.edu!asuvax!noao!arizona!naucse!jdc From: jdc@naucse.UUCP (John Campbell) Newsgroups: comp.lang.c Subject: Re: SIGFPE signal problem Message-ID: <1952@naucse.UUCP> Date: 19 Mar 90 16:15:31 GMT References: <5450@rouge.usl.edu> Distribution: usa Organization: Northern Arizona University, Flagstaff, AZ Lines: 21 From article <5450@rouge.usl.edu>, by pcb@gator.cacs.usl.edu (Peter C. Bahrs): : I am trying to detect overflow, 0 divide and, although it may seem : unlikely, underflow. Doesn't SIGFPE detect this? If so, why doesn't : the following SMALL code work? : : Why and how in the heck can vendors not provide for underflow detection? : I am working on SUN 3,4 and Val 11780. : I have at least one example on my ATT3b1 of computing IEEE Inf and not causing a SIGFPE until the next operation on this value. My "solution" was to do some special checking near the computation as well as arming SIGFPE. I'd be interested in hearing a discussion here from others who know more than I about how this can happen. Like Peter, I wonder "...can vendors not provide for " dependable SIGFPE? -- John Campbell ...!arizona!naucse!jdc CAMPBELL@NAUVAX.bitnet unix? Sure send me a dozen, all different colors.