How to detect NaN's
Greg Lindahl
gl8f at astsun.astro.Virginia.EDU
Sat Jun 1 10:27:51 AEST 1991
In article <1991May31.130807 at IASTATE.EDU> keinert at IASTATE.EDU (Keinert Fritz) writes:
>One of my biggest gripes with both the Sun and Mips Fortran compilers
>is that there is no easy way to turn on floating point exception
>handling.
It's fairly trivial under SunOS 4.X:
subroutine initerrors
integer n, ieee_handler, sigfpe_abort
n = ieee_handler( 'set', 'common', SIGFPE_ABORT )
return
end
This produces nice crashes when you want them. Now if only IBM would
see the light...
More information about the Comp.unix.ultrix
mailing list