home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.lang.fortran
- Path: sparky!uunet!gatech!concert!samba!usenet
- From: Bruce.Scott@bbs.oit.unc.edu (Bruce Scott)
- Subject: how to quit on an NaN result?
- Message-ID: <1992Aug16.200837.14024@samba.oit.unc.edu>
- Sender: usenet@samba.oit.unc.edu
- Nntp-Posting-Host: lambada.oit.unc.edu
- Organization: Extended Bulletin Board Service
- Date: Sun, 16 Aug 1992 20:08:37 GMT
- Lines: 18
-
- Hello all,
- I am debugging code which is still in the stage where many NaN results
- arise. The problem is that, beyond the waste of time in general,
- operations involving these critters are very slow. How can I check for
- NaN's and quit when one arises. Does one use
- if (avar .eq. 'NaN') stop
- or is this illegal?
-
- Gruss,
- Dr Bruce Scott The deadliest bullshit is
- Max-Planck-Institut fuer Plasmaphysik odorless and transparent
- bds at spl6n1.aug.ipp-garching.mpg.de -- W Gibson
-
- --
- The opinions expressed are not necessarily those of the University of
- North Carolina at Chapel Hill, the Campus Office for Information
- Technology, or the Experimental Bulletin Board Service.
- internet: bbs.oit.unc.edu or 152.2.22.80
-