Decimal number to floating-point represention?

  • Thread starter Thread starter ming2194
  • Start date Start date
Join the discussion
Registration is free. Ask a follow-up in this thread, or start your own.
1 reply · 3K views
Physics news on Phys.org
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.