#ifdef __linux #ifdef __ia64 #else #include void __attribute__ ((constructor)) trapfpe () { fpu_control_t cw = _FPU_DEFAULT & ~(_FPU_MASK_IM | _FPU_MASK_ZM | _FPU_MASK_OM); _FPU_SETCW(cw); } #endif #else void trapfpe () {} #endif