home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #20 / NN_1992_20.iso / spool / comp / std / c / 2580 < prev    next >
Encoding:
Text File  |  1992-09-08  |  800 b   |  23 lines

  1. Newsgroups: comp.std.c
  2. Path: sparky!uunet!usc!sdd.hp.com!elroy.jpl.nasa.gov!ucla-cs!twinsun!eggert
  3. From: eggert@twinsun.com (Paul Eggert)
  4. Subject: Re: NaN
  5. Message-ID: <bj#q#m!x@twinsun.com>
  6. Sender: usenet@twinsun.com
  7. Nntp-Posting-Host: bi
  8. Organization: Twin Sun, Inc
  9. References: <1992Sep7.040357.674@cactus.org>
  10. Date: Mon, 7 Sep 1992 06:25:06 GMT
  11. Lines: 10
  12.  
  13. cheselka@cactus.org (Michael R. M. Cheselka) writes:
  14.  
  15. >Today, I encountered this NaN thingy....
  16.  
  17. NaN and Infinity are not part of the C Standard.
  18. They're part of the IEEE floating point standard (IEEE Std 754-1985).
  19. The exact relationship between IEEE floating point and Standard C
  20. is still being discussed, but in the meantime your best bet is to
  21. read the IEEE floating point standard.  Unlike the C Standard,
  22. it's short and easy to follow.
  23.