Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sun-barr!olivea!uunet!zaphod.mps.ohio-state.edu!pacific.mps.ohio-state.edu!linac!mp.cs.niu.edu!ux1.cso.uiuc.edu!mrlax3.mrl.uiuc.edu!andreess From: andreess@mrlax3.mrl.uiuc.edu (Marc Andreessen) Newsgroups: comp.unix.aix Subject: Re: HELP! Need Decent RS6000 Fortran Compiler! Message-ID: <1991May10.150242.16587@ux1.cso.uiuc.edu> Date: 10 May 91 15:02:42 GMT References: <1991May9.015512.27264@murdoch.acc.Virginia.EDU> Sender: usenet@ux1.cso.uiuc.edu (News) Organization: University of Illinois, Urbana Lines: 14 In article jkorpela@vipunen.hut.fi (Jukka Korpela) writes: >- peculiarly, if you want to test within a program whether the value > of X is NaN, X.NE.X seems to be the (undocumented) way; there are > probably ways of detecting infinities as well Also, while I have not tried them in Fortran, isnan and its counterparts unordered, finite, and class, can be useful for specific variable and expression checking. Marc -- Marc Andreessen___________University of Illinois Materials Research Laboratory Internet: andreessen@uimrl7.mrl.uiuc.edu____________Bitnet: andreessen@uiucmrl