Xref: utzoo comp.unix.ultrix:7447 comp.lang.fortran:5566 Path: utzoo!utgpu!news-server.csri.toronto.edu!bonnie.concordia.ca!uunet!zaphod.mps.ohio-state.edu!sample.eng.ohio-state.edu!purdue!haven.umd.edu!uvaarpa!murdoch!astsun.astro.Virginia.EDU!gl8f From: gl8f@astsun.astro.Virginia.EDU (Greg Lindahl) Newsgroups: comp.unix.ultrix,comp.lang.fortran Subject: Re: How to detect NaN's Message-ID: <1991Jun1.002751.8318@murdoch.acc.Virginia.EDU> Date: 1 Jun 91 00:27:51 GMT References: <1991May30.204332.16506@litwin.com> <1991May31.130807@IASTATE.EDU> Sender: usenet@murdoch.acc.Virginia.EDU Organization: Department of Astronomy, University of Virginia Lines: 16 In article <1991May31.130807@IASTATE.EDU> keinert@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...