Xref: utzoo comp.unix.ultrix:7475 comp.lang.fortran:5594 Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!swrinde!cs.utexas.edu!sun-barr!newstop!exodus!exodus-bb!khb From: khb@chiba.Eng.Sun.COM (Keith Bierman fpgroup) Newsgroups: comp.unix.ultrix,comp.lang.fortran Subject: Re: How to detect NaN's Message-ID: Date: 3 Jun 91 17:51:51 GMT References: <1991May30.204332.16506@litwin.com> <1991May31.130807@IASTATE.EDU> Sender: news@exodus.Eng.Sun.COM Followup-To: comp.unix.ultrix Organization: Sun MegaSystems Lines: 22 In-reply-to: keinert@IASTATE.EDU's message of 31 May 91 18:08:07 GMT In article <1991May31.130807@IASTATE.EDU> keinert@IASTATE.EDU (Keinert Fritz) writes: One of my biggest gripes with both the Sun and Mips Fortran ^^^???? try man ieee_handler() and man f77 (-fnonstandard) I don't see how to make this any easier; here is what I usually use i=ieee_handler("set","common",%val(2)) !%val(2) is SIGFPE_ABORT f77_floatingpoint.h contains the definition of %val(2) and a lot of other things. I can type %val(2) faster, so I personally wind up using it more often than I should. This isn't a particularly new feature; you might wish to peruse the Numerical Computation Guide. -- ---------------------------------------------------------------- Keith H. Bierman keith.bierman@Sun.COM| khb@chiba.Eng.Sun.COM SMI 2550 Garcia 12-33 | (415 336 2648) Mountain View, CA 94043