This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: [RFH] A simple way to figure out the number of bits used by a long double
- From: Andreas Schwab <schwab at linux-m68k dot org>
- To: Paolo Carlini <paolo dot carlini at oracle dot com>
- Cc: "'gcc\ at gcc dot gnu dot org'" <gcc at gcc dot gnu dot org>
- Date: Fri, 26 Feb 2010 13:03:07 +0100
- Subject: Re: [RFH] A simple way to figure out the number of bits used by a long double
- References: <4B87A9D5.6010202@oracle.com>
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?
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."