This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


On 02/26/2010 01:03 PM, Andreas Schwab wrote:
> Paolo Carlini <paolo.carlini@oracle.com> writes:
>> At the moment I'm trying to cook up something fixing that count with
>> LDBL_MANT_DIG, but maybe there is something simpler, maybe using
>> preprocessor builtins?!?
>>     
> What's wrong with LDBL_MANT_DIG?
>   
Nothing Andreas, the information is all there, essentially. I was hoping
in something more "clever", and closer to the actual number, including
the exponent, etc.

Paolo.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]