On Wed, May 07, 2014 at 12:14:32AM +0800, Logan Chien wrote:
> > Can you use __LDBL_MANT_DIG__ == 64 instead?
> >
> 
> It seems that __LDBL_MANT_DIG__ stands for the number of bits of
> significand (or mantissa.)  However, I wish to know the size of long
> double.  AFAIK, there is no macro for this.  Any good suggestion?  Thanks.

Problem is that the size of long double may include additional padding,
so it gets rounded up to 12 or 16 bytes. On AMD64, you will get a size
of 16 bytes for SPARC64 as well, but it has a different encoding.

Joerg
_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits

Reply via email to