Xref: utzoo comp.unix.ultrix:7433 comp.lang.fortran:5551 Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!usc!cs.utexas.edu!uunet!dynsim1!litwin!vlr From: vlr@litwin.com (Vic Rice) Newsgroups: comp.unix.ultrix,comp.lang.fortran Subject: How to detect NaN's Message-ID: <1991May30.204332.16506@litwin.com> Date: 30 May 91 20:43:32 GMT Organization: Litwin Process Automation Lines: 9 I have encountered a problem on a DECStation 5000 using the Mips Fortran compiler. Some operation I am performing is generating a NaN which then proceeds to propogate to other dependent variables. Since this is in a loop, I am not exactly sure where it starts. How can I test a variable for the presence of a NaN or Infinity ??? -- Dr. Victor L. Rice Litwin Process Automation