15213 Recitation Section CImportant DatesFloating Point RepresentationIEEE Floating Point FormatNormalized ValuesDenormalized ValuesSpecial Values15213 Recitation Section C• Floating Point Review• Last Year’s Exam ProblemsShimin ChenOct. 7, 2002Outline215213 Recitation C Shimin ChenImportant Dates•Lab 3: due Monday (Oct. 7), 11:59pm•Exam 1: Tuesday (Oct. 8), 6:00–7:30pmDoherty Hall 2315315213 Recitation C Shimin ChenFloating Point Representation•Numerical Form: (–1)S M 2E–Sign bit S: •positive(0)/negative(1)–Significand M: •in [1.0,2.0)–Exponent E•Encoding:s exp fracEM415213 Recitation C Shimin ChenIEEE Floating Point Formats exp fracexpNormalized values00…01 ~ 11…10Denormalized values00…00Special values 11…11515213 Recitation C Shimin ChenNormalized Values•exp field must be 00…01 ~ 11…10•Encoding of E•E = exp – bias•Encoding of M•M = 1.xxxxxxxx fracs exp frac(–1)S M 2E615213 Recitation C Shimin ChenDenormalized Values•exp field must be 00…00•Encoding of E•E = exp – bias + 1 = 1 - bias•Encoding of M•M = 0.xxxxxxxx fracs 00…00 frac(–1)S M 2E715213 Recitation C Shimin ChenSpecial Values•exp field must be 11…11•Values:•+•-•NaN (Not a Number): the rests 11…11 frac0 11…11 00 . . . 001 11…11 00 . . .
View Full Document