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


    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.
Know someone interested in this topic? Share this thread via Reddit, Google+, Twitter, or Facebook

Similar Discussions: Decimal number to floating-point represention?
  1. Floating point error (Replies: 8)

  2. Matlab floating point (Replies: 6)

  3. Floating point numbers. (Replies: 18)