in reply to Unpacking extended-double precision floats

See IEEE 754 80-bit Extended double (long double) to 64-bit double unpack for a possible solution; provided that your data was written in Intel and you are reading it back on Intel.


Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
Lingua non convalesco, consenesco et abolesco. -- Rule 1 has a caveat! -- Who broke the cabal?
"Science is about questioning the status quo. Questioning authority".
In the absence of evidence, opinion is indistinguishable from prejudice.

Replies are listed 'Best First'.
Re^2: Unpacking extended-double precision floats
by herveus (Prior) on Nov 30, 2006 at 13:27 UTC
    Howdy!

    I'm working on a Motorola CPU, but this may be just the ticket. If it works for 80->64, I'll see about inverting it as well. An Intel "extended double" is a valid form of IEEE754 extended-double-precision, which requires at least 80 bits to hold it. The 128 bit "long double" that Sun uses is another conforming implementation, as that standard simply sets minimum bit sizes for exponent and mantissa.

    Thanks!

    yours,
    Michael