Floating point Multiplication - PowerPoint PPT Presentation

1 / 9
About This Presentation
Title:

Floating point Multiplication

Description:

Round results. Fix sign of product. Floating Accuracy ... with guard and round digits and. then without ... round towards 0. Special symbols used by IEEE-754 ... – PowerPoint PPT presentation

Number of Views:260
Avg rating:3.0/5.0
Slides: 10
Provided by: MurrayP2
Category:

less

Transcript and Presenter's Notes

Title: Floating point Multiplication


1
Floating point Multiplication
  • Multiply mantissas and add exponents
  • Steps
  • Add exponents
  • Multiply mantissas
  • Normalise result
  • Round results
  • Fix sign of product

2
(No Transcript)
3
Floating Accuracy
  • Floating point Numbers are normally
    approximations for the numbers they represent
  • IEEE-754 keeps two extra bits on the right during
    intermediate calculations called guard and round
    respectively
  • Example add 2.56ten 100 to 2.34ten102
    assumming three significant digits
  • First with guard and round digits and
  • then without them

4
Floating Point Accuracy
  • Four Rounding modes
  • round to nearest (default)
  • round towards plus infinity
  • round towards minus infinity
  • round towards 0
  • Special symbols used by IEEE-754
  • ? or - ? (largest exponent with 0 mantissa)
    (result of divide by zero)
  • NaN (Not a number) (largest exponent with 0
    mantissa) (0/0 or ? - ?)
  • Unnormalised Numbers (no explicit 1 in MSB) (0
    exponent non-zero mantissa)
  • Zero (zero Mantissa and zero expeonent)

5
Summary
6
Processor Design
  • Clocking Methodology
  • Defines when signals can be read and written
  • Going to assume and edge triggered clocking
    methodology

7
(No Transcript)
8
Control Step
  • Each control step takes one clock cycle

Source registers output here
Destination registers read values here
Clock cycle
Signals propagate through system
9
(No Transcript)
Write a Comment
User Comments (0)
About PowerShow.com