Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

Decimal number to floating-point represention?

  1. Nov 25, 2009 #1
  2. jcsd
  3. Nov 25, 2009 #2

    Mark44

    Staff: Mentor

    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.
     
Share this great discussion with others via Reddit, Google+, Twitter, or Facebook