From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1164f8,44f55a18f3badea3 X-Google-Attributes: gid1164f8,public X-Google-ArrivalTime: 1994-09-21 10:16:24 PST Path: bga.com!news.sprintlink.net!howland.reston.ans.net!europa.eng.gtefsd.com!library.ucla.edu!csulb.edu!nic-nac.CSU.net!charnel.ecst.csuchico.edu!olivea!decwrl!pa.dec.com!nntpd.lkg.dec.com!jac.zko.dec.com!btgmax.zko.dec.com!cowan From: cowan@btgmax.zko.dec.com (Ken Cowan) Newsgroups: comp.sys.dec Subject: Re: isnan for VMS C Needed Date: 20 Sep 1994 18:11:38 GMT Organization: Digital Equipment Corporation Distribution: world Message-ID: <35n8kq$chv@jac.zko.dec.com> References: <35je2p$bns@raffles.technet.sg> Reply-To: cowan@rtl.enet.dec.com NNTP-Posting-Host: btgmax.zko.dec.com X-Newsreader: mxrn 6.18-9 In article <35je2p$bns@raffles.technet.sg>, sgs@solomon.technet.sg (S Jawahar) writes: |>Hello World, |>I am looking for the source of isnan for VMS float representation. Has |>anybody developed such a function ? |>Thanks in advance, |> |>Cheers |> |> ---------------------------------------------------------------------------- |> S Jawahar | email: sgs@solomon.technet.sg |> SGS Thomson Microelectronics Pte Ltd | Phone: (o) +65-4821411 x335 |> 28, Ang Mo Kio Ind. Park 2, | |> Singapore 2056. | Fax : (o) +65-4820240 |> ---------------------------------------------------------------------------- |> Mention "Mail for Jawahar" in the subject. This is ShareAccount. |> |> |> I assume you're using AXP since isnan does not make any sense on a VAX. VAX floating point types don't have any concept of NaN. isnan was added to DEC C V4.0 / OpenVMS AXP V6.1. It's prototype is in math.h. -- Ken Cowan, ZK2-3/Q8 cowan@rtl.enet.dec.com Digital Equipment Corporation decwrl!rtl!cowan 110 Spit Brook Rd, Nashua, NH 03062