home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.lang.pascal
- Path: sparky!uunet!cs.utexas.edu!qt.cs.utexas.edu!yale.edu!newsserver.jvnc.net!erenj.com!jhharde.erenj.com!jhharde
- From: jhharde@erenj.com (John Hardenbergh)
- Subject: Re: NaN and comp type
- Message-ID: <jhharde.14.727988801@erenj.com>
- Keywords: comp, NaN
- Lines: 36
- Sender: news@erenj.com (Usenet News System Gateway)
- Nntp-Posting-Host: jhharde.erenj.com
- Organization: Exxon Research and Engineering
- References: <1993Jan23.072940.22388@qiclab.scn.rain.com>
- Date: Mon, 25 Jan 1993 19:06:41 GMT
-
- In article <1993Jan23.072940.22388@qiclab.scn.rain.com> leonard@qiclab.scn.rain.com (Leonard Erickson) writes:
- >Path: erenj.com!newsserver.jvnc.net!yale.edu!nigel.msen.com!sdd.hp.com!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)
-
- Please forgive my ignorance but what is NaN. For that matter what
- are denormals, and why would one be concerned with expressing infinities
- in a Real Type ( see TP6 manual same section as Comp type )?
-
- Regards, JHH
- John H. Hardenbergh | .-------. H H
- Exxon Research and Engineering | | | \ /
- jhharde@erenj.com | | O | ---> C=C
- Disclaimer: These are my views, | | I | / \
- these are only my views. | Better Chemistry Thru Computer Science
-