www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/08/21/13:24:25

From: mila AT polbox DOT com DOT pl
Message-Id: <199608211654.MAA13222@delorie.com>
To: djgpp AT delorie DOT com
Date: 21 Aug 1996 18:59:12 UTC
Subject: sizeof(long double)

Hallo everybody at the list !

I'm new to djgpp - I use it since a mounth or so.
I've started porting a data base program from Turbo C to djgpp.

My question is:why the 'long double' type is 12 bytes long
even if ((packed)) attribute is specified?
My tests show (may be I am wrong...), that last 2 bytes
of 12 bytes long doubles in djgpp are unused !!!
So, why long doubles are not 10 bytes long (like in TC)?

Thank you in advance,
         ,
Greg Rowinski
mila data Poland

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019