I have a situation where some floating point operations are generating underflows resulting in floating point assist traps. I can easily turn on the the signals with feenableexcept(FE_ALL_EXCEPT) or one of the related functions. I did notice that Steven Hatton discussed this about 2 years ago on another list, but I did not see a Linux resolution. Specifically, what I want to do is: double d = <init value>; try { a /= 2; // divide by 2 to cause an underflow } catch(some exception) { // handle exception } One solution here is to set up a signal handler that throws an exception. That is messy, but it will do the job. -- Jerry Feldman <gaf@blu.org> Boston Linux and Unix user group http://www.blu.org PGP key id:C5061EA9 PGP Key fingerprint:053C 73EC 3AC1 5C44 3E14 9245 FB00 3ED5 C506 1EA9