Computer Organization I Recitation - PowerPoint PPT Presentation

1 / 9
About This Presentation
Title:

Computer Organization I Recitation

Description:

IEEE Standard 754 Floating Point Numbers. presents numbers as a base number and an exponent. ... A floating point value represented in a single 32 bit word ... – PowerPoint PPT presentation

Number of Views:30
Avg rating:3.0/5.0
Slides: 10
Provided by: Man98
Category:

less

Transcript and Presenter's Notes

Title: Computer Organization I Recitation


1
Computer Organization IRecitation
2
IEEE Standard 754 Floating Point Numbers
  • presents numbers as a base number and an
    exponent.
  • 123.456 is represented as 1.23456 102.
  • In hexadecimal, 123.abc is represented as 1.23abc
    162.

3
IEEE Standard 754 Floating Point Numbers
  • Single Precision
  • A floating point value represented in a single 32
    bit word
  • Double Precision
  • A floating point value represented in a two 32
    bit word

4
IEEE Standard 754 Floating Point Numbers
  • The value is
  • S sign 0 denotes a positive number 1 denotes
    a negative number.
  • Bias 127 for single precision and 1023 for
    double precision

5
IEEE Standard 754 Floating Point Numbers
  • Single Precision
  • Double Precision

Fraction
Exponent
S
8 bits
23 bits
1 bit
Fraction
S
Exponent
1 bit
52 bits
11 bits
6
IEEE Standard 754 Floating Point Numbers
  • Representing in IEEE 754
  • Represent the number in binary format
  • Convert into scientific form
  • Convert into
  • where bias 127or 1023
  • Put the values in the appropriate positions.

7
IEEE Standard 754 Floating Point Numbers
  • Convert -0.75 in single precision
  • Binary of -0.75 is -0.11
  • In scientific notation it is -1.1X 2(-1)
  • Putting in the general form
  • it becomes
  • 1 01111110 10000000000000000000000

8
IEEE Standard 754 Floating Point Numbers
  • 3.38
  • Show the IEEE 754 binary representation for the
    number 20.5

9
IEEE Standard 754 Floating Point Numbers
  • 3.30
  • Given the bit pattern 1010 1101 0001 0000 0000
    0000 0000 0010
  • What does it present, assuming it is
  • A twos complement integer
  • An unsigned integer
  • A single precision floating point number?
Write a Comment
User Comments (0)
About PowerShow.com