Results 1 to 2 of 2

Math Help - IEEE 754 single precision floating point, hexadecimal to binary scientific notation

  1. #1
    Junior Member
    Joined
    Apr 2013
    From
    USA
    Posts
    68
    Thanks
    1

    IEEE 754 single precision floating point, hexadecimal to binary scientific notation

    For IEEE 754 single precision floating point, what is the number, as written in binary scientific notation, whose hexadecimal representation is the following?

    (a) 4280 0000

    (c) 0061 0000

    (e) 7FE4 0000

    Okay so I'm stuck on (a).

    The answer in the book says, 1.0 * 2^6 but I get 1.0010 * 2^-59

    I converted 4 2 8 and 0 separately to binary and got 0 0100 0010 1000 0000 0000 0000 0000 0000 .

    exponent: 0100 0010 . With excess 127 representation I get the exponent as -59.

    Hidden bit is 1. 4 digits to the left of the significand are 0010. So that gives me 1.0010 *2^-59.

    What am I doing wrong?
    Follow Math Help Forum on Facebook and Google+

  2. #2
    Super Member
    Joined
    Dec 2012
    From
    Athens, OH, USA
    Posts
    607
    Thanks
    247

    Re: IEEE 754 single precision floating point, hexadecimal to binary scientific notati

    Hi,
    Where did you get 33 bits?
    The first (high order) bit is the sign bit. The next 8 bits form the biased exponent, then the next 23 bits form the normalized mantissa (leading bit is 1, not given).

    So 4280 0000 hex yields in binary 0100 0010 1000 0000 and 16 more 0's
    The sign bit is 0 (positive)
    biased exponent 1000 0101 = 133, with the bias of 127, the true exponent is 6.
    mantissa (including the hidden 1 bit) 1.000 and 16 more 0's

    Finally, value is 26*1
    Follow Math Help Forum on Facebook and Google+

Similar Math Help Forum Discussions

  1. IEEE 754 Single Precision Floating Point System:
    Posted in the Advanced Math Topics Forum
    Replies: 2
    Last Post: September 26th 2010, 03:22 AM
  2. Positive binary floating point (PBFP)
    Posted in the Calculus Forum
    Replies: 0
    Last Post: September 20th 2009, 08:50 PM
  3. binary fixed floating point calculator
    Posted in the Calculators Forum
    Replies: 0
    Last Post: April 26th 2009, 04:28 PM
  4. IEEE floating point arithmetic
    Posted in the Math Software Forum
    Replies: 1
    Last Post: March 13th 2009, 02:18 PM
  5. Floating Point Notation
    Posted in the Number Theory Forum
    Replies: 2
    Last Post: July 4th 2007, 11:15 AM

Search Tags


/mathhelpforum @mathhelpforum