From: "Mark Di Val" Subject: Re: MSB to IEEE format Date: 24 Jan 1999 00:00:00 GMT Message-ID: <78f0ff$n797@forums.borland.com> References: <78d591$mda2@forums.borland.com> X-MimeOLE: Produced By Microsoft MimeOLE V4.71.1712.3 Organization: Another Netscape Collabra Server User Newsgroups: borland.public.turbopascal Microsoft C/C++ 7.0 defines the following functions Include: Syntax: int _dieeetomsbin( double *src8, double *dst8 ); int _dmsbintoieee( double *src8, double *dst8 ); int _fieeetomsbin( float *src4, float *dst4 ); int _fmsbintoieee( float *src4, float *dst4 ); Returns: 0 if successful, or 1 on overflow. -?- This may be a starting point - unfortunately I don't seem to have the source. Tony Tooley wrote in message <78d591$mda2@forums.borland.com>... >I have some legacy Qbasic v2 data files that have fields stored in MSB fmt >single >and double precision format. They are not compatible with Borland Pascal >reals and doubles (which are IEEE). Anyone know of a library or routine in >Pascal that will allow me to convert these fields to reals, doubles etc? > >Thanks