🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.std.c
Article #1170

Re: NaN

#1170
From: Paul Eggert
Date: Mon, 07 Sep 1992 06:25
10 lines
822 bytes
cheselka@cactus.org (Michael R. M. Cheselka) writes:

>Today, I encountered this NaN thingy....

NaN and Infinity are not part of the C Standard.
They're part of the IEEE floating point standard (IEEE Std 754-1985).
The exact relationship between IEEE floating point and Standard C
is still being discussed, but in the meantime your best bet is to
read the IEEE floating point standard.  Unlike the C Standard,
it's short and easy to follow.
Technical Details
Message-ID: <bj#q#m!x@twinsun.com>
Path: arc1-ca.pugleaf.net!sparky!uunet!usc!sdd.hp.com!elroy.jpl.nasa.gov!ucla-cs!twinsun!eggert
References: <1992Sep7.040357.674@cactus.org>

Show Full Headers
Complete Article Headers
Newsgroups: comp.std.c
Path: arc1-ca.pugleaf.net!sparky!uunet!usc!sdd.hp.com!elroy.jpl.nasa.gov!ucla-cs!twinsun!eggert
From: eggert@twinsun.com (Paul Eggert)
Subject: Re: NaN
Message-ID: <bj#q#m!x@twinsun.com>
Sender: usenet@twinsun.com
Nntp-Posting-Host: bi
Organization: Twin Sun, Inc
References: <1992Sep7.040357.674@cactus.org>
Date: Mon, 7 Sep 1992 06:25:06 GMT
Lines: 10