This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Internal (bit) representation of float and double.
- From: Sisyphus <kalinabears at iinet dot net dot au>
- To: gcc <gcc-help at gcc dot gnu dot org>
- Date: Sun, 28 Nov 2004 04:46:17 +0000
- Subject: Internal (bit) representation of float and double.
Hi,
If I code:
float a = 1.0;
double b = 1.9;
is there a way I can view the bit structure of a and b ?
Does anyone have a link to an explanation of the way bits are assigned
to floats and doubles (with gcc) ?
Cheers,
Rob