From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10239c,895b65025d75f836 X-Google-Attributes: gid10239c,public X-Google-Thread: 1164f8,895b65025d75f836 X-Google-Attributes: gid1164f8,public X-Google-ArrivalTime: 1994-08-30 05:45:36 PST Path: bga.com!news.sprintlink.net!redstone.interpath.net!ddsw1!news.kei.com!MathWorks.Com!europa.eng.gtefsd.com!library.ucla.edu!agate!ames!newsfeed.gsfc.nasa.gov!author.gsfc.nasa.gov!rkoehler From: rkoehler@author.gsfc.nasa.gov (Bob Koehler) Newsgroups: comp.sys.dec,vmsnet.sources.d Subject: Re: C code to convert DEC floating pt to IEEE floating pt Date: 30 Aug 1994 08:43 -0500 Organization: NASA Goddard Space Flight Center -- Greenbelt, Maryland USA Distribution: world Message-ID: <30AUG199408433962@author.gsfc.nasa.gov> References: NNTP-Posting-Host: author.gsfc.nasa.gov Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Keywords: DEC, floating-point, IEEE, format News-Software: VAX/VMS VNEWS 1.4-b1 Xref: bga.com comp.sys.dec:5541 vmsnet.sources.d:526 In article , mehl@iastate.edu (Mark M Mehl) writes... > >We're interested in some C code to convert DEC floating pt (VAX & PDP) >to IEEE floating point format (PCes). > [...] > >I would rather not convert these solutions to C if someone has >already done so. :-) Please direct me to some C sources. > Does it really have to be source? VMS has this capability built in. Look at CVT$CONVERT_FLOAT in the back of the LIB$ manual, you can call this from any language. ------------------------------------------------------------------------------ Bob Koehler | rkoehler@author.gsfc.nasa.gov | koehler@plane.gsfc.nasa.gov (Mon - Fri only)