[RFH] A simple way to figure out the number of bits used by a long double
Andreas Schwab
schwab@linux-m68k.org
Fri Feb 26 15:45:00 GMT 2010
Paolo Carlini <paolo.carlini@oracle.com> writes:
> 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.
Of what? What is the 10 magic number supposed to represent?
Andreas.
--
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."
More information about the Gcc
mailing list