This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: Floating-point type info
- From: Tim Prince <n8tm at aol dot com>
- To: gcc-help at gcc dot gnu dot org
- Date: Fri, 06 Apr 2012 07:45:13 -0400
- Subject: Re: Floating-point type info
- References: <20120406022608.18654a5z0swt7q0w@commissioncalc.com>
- Reply-to: tprince at computer dot org
On 04/06/2012 02:26 AM, rflaum@commissioncalc.com wrote:
I'm pretty new to gcc, so forgive me if this is a stupid question: is
there any way to extract more info about a floating point type than
just its size? In particular, I'd like to see how many bits the
significand takes up. Ideally this should be done at run time, but
that's not essential.
<float.h>
--
Tim Prince