Mail Archives: djgpp/1996/08/26/15:37:41
dj AT delorie DOT com (DJ Delorie) wrote:
>> This is just a note that the following program indicates that the
>> length of a long double type in djgpp 2 is 12:
>So? It *is* that big.
>(Actually, it's an 80-bit (10 byte) quantity, but gcc rounds the size
>up to 12 for word-alignment purposes.)
That reminds me. Is there a way to store a float (32 bits) in 30 bits?
What I mean is, I want to use 2 bits as a seperate field. I tried
using the lower two bits, thus shaving some accuracy of the mantissa,
but this does not always seem to work (SIGFPE from time to time).
Is there a reliable way?
Regards,
ABW
---
COMPUTER: We are in position over the Rebel homeworld.
VADAR: Engage the Death Star primary weapon, let those rebel worms die!
COMPUTER: Sorry, your evaluation version of Battle Computer 3.0 has expired.
Please send 2.6 billion dollars to the address in REGISTER.TXT
Alaric B. Williams Internet : alaric AT abwillms DOT demon DOT co DOT uk
<A HREF="http://www.abwillms.demon.co.uk/">Hello :-)</A>
- Raw text -