From: mschulter AT DOT value DOT net (M. Schulter) Newsgroups: comp.os.msdos.djgpp Subject: Re: sizeof(long double) Date: 11 Mar 1997 02:38:24 GMT Organization: Value Net Internetwork Services Inc. Lines: 17 Message-ID: <5g2gj0$ra4$1@vnetnews.value.net> References: NNTP-Posting-Host: value.net To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Thomas Knudsen (tk AT geb DOT gfy DOT ku DOT dk) wrote: : prints: sizeof(long double)==12 : : is this really true? : : Thomas As I understand it, in fact a long double in djgpp includes 80 bits of data, as expected; but the compiler uses a 96-bit (12-byte) size in order to align the data on a 32-bit boundary. This feature is somewhat analogous to struct padding. Most respectfully, Margo schulter mschulter AT value DOT net