home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / comp / lang / pascal / 8465 < prev    next >
Encoding:
Internet Message Format  |  1993-01-23  |  986 b 

  1. Path: sparky!uunet!cs.utexas.edu!swrinde!emory!ogicse!qiclab!leonard
  2. From: leonard@qiclab.scn.rain.com (Leonard Erickson)
  3. Newsgroups: comp.lang.pascal
  4. Subject: NaN and comp type
  5. Keywords: comp, NaN
  6. Message-ID: <1993Jan23.072940.22388@qiclab.scn.rain.com>
  7. Date: 23 Jan 93 07:29:40 GMT
  8. Article-I.D.: qiclab.1993Jan23.072940.22388
  9. Reply-To: Leonard.Erickson@f51.n105.z1.fidonet.org
  10. Organization: SCN Research/Qic Laboratories of Tigard, Oregon.
  11. Lines: 13
  12.  
  13. According to the TP6 manual, NaN is represented for the comp type
  14. by a value of 0, with a sign bit of 1. But if you *create* such a
  15. value TP 5.5 and TP 6.0 both treat it as a *large* negative 
  16. number (-9.22337203685478E+0018) 
  17.  
  18. So is it broken, or are the docs wrong? I was *hoping* to use it 
  19. to mark uninitialized values. <sigh>
  20.  
  21. -- 
  22. Leonard Erickson              leonard@qiclab.scn.rain.com
  23. CIS: [70465,203]             70465.203@compuserve.com
  24. FIDO:   1:105/51     Leonard.Erickson@f51.n105.z1.fidonet.org
  25. (The CIS & Fido addresses are preferred)
  26.