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