Mail Archives: djgpp/1996/09/18/14:05:56
DJGPP has three floating-point (FP) data types: float (4 bytes), double (8
bytes) and long double (12 bytes). Since x86 FPU supports ONLY
32-bit,64-bit and 80-bit floating-point numbers (and also 64-bit integer
numbers), I see no reason why long double is of size 12, and not 10 bytes!
It has nothing to do with alignment because it is also 12, even when I use
#pragma pack(1). Is there any explanation?
<E-mail: sime AT fly DOT cc DOT fer DOT hr >
<2nd E-mail: simun DOT mikecin AT fer DOT hr >
<URL: http://fly.cc.fer.hr/~sime>
- Raw text -