Re: Floating-point type info

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]


 On 04/06/2012 02:26 AM, rflaum@xxxxxxxxxxxxxxxxxx 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



[Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

Add to Google