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

IEEE single precision format

  1. Jun 24, 2015 #1
    Could someone please show me some examples how IEEE single precision format can used to store approximately 7 decimal digits of a number when the number is written in decimal format? How this is related to the statement ##2^{-23}=1.19\times10^{-7}##?
     
  2. jcsd
  3. Jun 24, 2015 #2

    phinds

    User Avatar
    Gold Member

    Have you done any research on your own to understand that format? It's very common and it should be easy to find examples already posted on the internet, if not in your textbook.

    that's just a radix conversion. It's relevance to the IEEE format is that you only have a 23 bit explicit mantissa so that's the smallest number body (apart from exponent) you can express in that format. It will all be clear once you have studied the format.
     
  4. Jun 24, 2015 #3
    What is meant by a precision of 23 bits (mantissa) in IEEE single precision format is equivalent to approximately 7 decimal digits precision?
     
  5. Jun 24, 2015 #4

    phinds

    User Avatar
    Gold Member

    approximately, yes. It's really very easy to remember because 2**10 = 1024 = 10**3 so 2**23 ~ 10**(23/3) ~ 10**7
     
Share this great discussion with others via Reddit, Google+, Twitter, or Facebook