Decimal number to floating-point represention?

  • Thread starter ming2194
  • Start date
1 reply · 3K views · last reply
What exactly are you trying to do? In C, floats are stored in 32 bits, and doubles are stored in 64 bits according to the IEEE 754 specification. The description that is given in the link you provided seems accurate to me for float (32-bit) storage.