Mail Archives: djgpp/1996/08/23/19:50:16
Xref: | news2.mv.net comp.os.msdos.djgpp:7810
|
From: | mschulter AT mach1 DOT mpu DOT com ()
|
Newsgroups: | comp.os.msdos.djgpp
|
Subject: | sizeof(long double)
|
Date: | 23 Aug 1996 23:18:58 GMT
|
Organization: | MP Unlimited, Inc.
|
Lines: | 21
|
Message-ID: | <4vle92$324@news.mpu.com>
|
NNTP-Posting-Host: | mach1.mpu.com
|
To: | djgpp AT delorie DOT com
|
DJ-Gateway: | from newsgroup comp.os.msdos.djgpp
|
This is just a note that the following program indicates that the
length of a long double type in djgpp 2 is 12:
/* Test size of long double */
#include <stdio.h>
int main(void)
{
long double VarSize = sizeof(VarSize);
printf("The size of a long double in djgpp is %Lg.\n", VarSize);
return(0);
}
The displayed result is indeed 12..
BTW, I wouldn't consider this extra capability a bad thing; from this
result, I would guess that djgpp may simply be a bit ahead of its time
<grin>, sort of like with the long long option for 64-bit integers.
Margo Schulter
- Raw text -