home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #18 / NN_1992_18.iso / spool / comp / lang / fortran / 3051 < prev    next >
Encoding:
Text File  |  1992-08-16  |  1.2 KB  |  30 lines

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