what's this constant ?

Michael Gong mwgong@cs.utoronto.ca
Mon Feb 5 16:08:00 GMT 2007


Hi,

I saw following function definition in libgcc2.c.

...

DFtype
__floatdidf (DItype u)
{
  DFtype d = (SItype) (u >> (4 * 8));
  d *= 0x1p32f;
  d += (USItype)u;
  return d;
}

Can anyone tell me what's the constant "0x1p32f" ? Is it a decimal 
floating pointer constant ?

Thanks.

Mike



More information about the Gcc-help mailing list