This is the mail archive of the gcc-help@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]

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


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