let9-Floating Point Arithmetic

Computer Arithmetic: Algorithms and Hardware Designs

Info iconThis preview shows pages 1–7. Sign up to view the full content.

View Full Document Right Arrow Icon
CSE 246: Computer Arithmetic  Algorithms and Hardware Design Instructor: Prof. Chung-Kuan Cheng Fall 2006 Lecture 9: Floating Point Numbers
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
CSE 246 2 Motivation Maximal information with given bit  numbers. Arithmetic with proper precision. Fairness of rounding. Features at the expenses of the complexity  of the operations.
Background image of page 2
CSE 246 3 Topics: Floating Point Numbers (IEEE P754) Standard Operations Exceptional Situations Rounding Modes Numerical Computing with IEEE Floating Point  Arithmetic, Michael L. Overton, SIAM
Background image of page 3

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
CSE 246 4 Standard 2 32    Typically Goal: Dynamic Range: largest #/ smallest # If too large, holes between #’s
Background image of page 4
CSE 246 5 Standard  ulp ( unit in the last place ) Difference between two consecutive values of the  significand. 3 Parts  x = ~s b e :sign, significand, exponent Sign Bit 8-bit exponent 23-bit Significand
Background image of page 5

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
CSE 246 6 Standard    ~ e 1 e 2 e 3 e 4 e 5 e 6 e 7 e 8 s 1 s 2 s 3 …s 22 s 23 1. s 1 s 2 s 3 …s 22 s 23  normalized number 0. s 1 s 2 s 3 …s 22 s 23
Background image of page 6
Image of page 7
This is the end of the preview. Sign up to access the rest of the document.

Page1 / 17

let9-Floating Point Arithmetic - CSE 246: Computer...

This preview shows document pages 1 - 7. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online