CS230 Lecture Notes - Array Data Structure, Ieee Floating Point, For Loop

87 views7 pages

Document Summary

Steps skipped in later sections can be veri ed at http://babbage. cs. qc. cun y. edu/ieee-754/ for converting to/from ieee-754, and http://www. exp loringbinary. com/binary-converter/ for working with binary num- bers with fractional parts. Exponent = 5 + bias = 5 + 127 = 132 = 10000100. Repeats 0. 2 = 0. 0011 0011 0011 2. Exponent = 9 + bias = 9 + 127 = 136 = 10001000. Exponent = 2 + bias = 2 + 127 = 129 = 10000001. Exponent = -18 + bias = -18 + 127 = 109 = 01101101. 2: when we normalize 2, we get 1. 0 21. Therefore, we have all 23 sig- ni cand bits zero, and 2 can be written as: The number immediately larger than 2 and that can be represented with a 23 bits signi cand is: The gap between the two numbers is 2 22: when we normalize 1024, we get 1. 0 210.

Get access

Grade+20% off
$8 USD/m$10 USD/m
Billed $96 USD annually
Grade+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
40 Verified Answers
Class+
$8 USD/m
Billed $96 USD annually
Class+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
30 Verified Answers

Related Documents