Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Floating-Point Number Conversion

12 views
Skip to first unread message

Matthias Goebel

unread,
Jan 16, 2001, 5:20:05 PM1/16/01
to
Hello,

I am trying to read a raw Paradox database file and am having trouble on the
field data type 6 (double-precision floating-point). I can convert the
positive values, it is the format for negative values I am having trouble
with.

For example how would I convert the value -.875 (which is stored in the
database file as 40 13 FF FF FF FF FF FF) to the standard IEEE
floating-point double used by ANSI C?


Thanks in advance,
Matthias


Robert Wiltshire

unread,
Jan 16, 2001, 9:19:16 PM1/16/01
to

>Matthias Goebel >

What programming language are you trying to read the file with ?

RW

Matthias Goebel

unread,
Jan 17, 2001, 11:14:19 AM1/17/01
to

C, but I figured it out... If you are interested in the code read the reply
to Henry's message, I posted it there. Thanks for you help.


"Robert Wiltshire" <rwil...@aol.com> wrote in message
news:3a650071@cnews...

0 new messages