comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Re: 10 bytes real
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: 10 bytes real [message #22256 is a reply to message #22253] Thu, 26 October 2000 23:20 Go to previous messageGo to previous message
Thierry Wannier is currently offline  Thierry Wannier
Messages: 4
Registered: May 1998
Junior Member
Thanks for the idea, but unfortunately it does not solve my problem, since the
data file really contains 10 bytes reals.
I thought that a way to turn around the problem would be to
a) read the ten bytes,
b) reorder them in little-endian (PC type if I recall correctly)
c) read the components of the number (i.e. decompose the real in its
significand and exponent parts (that's how I do understand reals are build
up))
d) recompose a real (double precision: 16 bytes) using this information.

Unfortunately, I am no computer specialist but just a middle range user, and I
have
no idea about the possibilities of doing this decomposition/recomposition of a
real number.

T.
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: eps bounding boxes
Next Topic: variable types in external C modules

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Wed Oct 08 20:06:30 PDT 2025

Total time taken to generate the page: 0.00385 seconds