🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.mac
Article #11406

Re: Testing for NaN in Think C (help!)

#11406
From: Kevin Mitchell
Date: Thu, 29 Mar 1990 15:22
13 lines
760 bytes
To find if you have a NaN, use the SANE call ClassExtended.

NumClass ClassExtended(extended);

if (ClassExtended(num)==QNaN /* or SNaN */) ...


-- 
Kevin A. Mitchell                (312) 266-4485
Datalogics, Inc                  Internet: kam@dlogics.UUCP
441 W. Huron                     UUCP: ..!uunet!dlogics!kam
Chicago, IL  60610               FAX: (312) 266-4473
Technical Details
Message-ID: <392@dlogics.COM>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!clyde.concordia.ca!uunet!dlogics!kam
References: <10538@portia.Stanford.EDU>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!clyde.concordia.ca!uunet!dlogics!kam
From: kam@dlogics.COM (Kevin Mitchell)
Newsgroups: comp.sys.mac
Subject: Re: Testing for NaN in Think C (help!)
Summary: OUse SANE
Message-ID: <392@dlogics.COM>
Date: 29 Mar 90 15:22:41 GMT
References: <10538@portia.Stanford.EDU>
Organization: Datalogics Inc., Chicago
Lines: 13