[RFH] A simple way to figure out the number of bits used by a long double

Paolo Carlini paolo.carlini@oracle.com
Fri Feb 26 15:41:00 GMT 2010


On 02/26/2010 03:56 PM, Andreas Schwab wrote:
> Paolo Carlini <paolo.carlini@oracle.com> writes:
>
>   
>> Thanks. Currently I'm thinking of doing something very simple, like:
>>
>>     const size_t __size = __LDBL_MANT_DIG__ == 64 ? 10 : sizeof(__val);
>>
>> seems conservative and I think it covers all the cases we really
>> support.
>>     
> What is __size supposed to represent?
>   
A size.

Paolo.



More information about the Gcc mailing list