eM7) N × \\G(47) N x \\@ CSCI 2 ×/D Home x ks.pdf AWS AccessKeyld-AKAI tDNKLJ4AL
ID: 3722184 • Letter: E
Question
eM7) N × G(47) N x @ CSCI 2 ×/D Home x ks.pdf AWS AccessKeyld-AKAI tDNKLJ4ALKBW6HA8Expires-1 5200569 /88Signature-A5HcL4r8x U%2BKY BtpKle 2.. Secure I https://piazza-resourcess3.amazonaws.com/jgopch0cb93d8/j Homework3.pdf Question 4 (12 points) Represent the following numbers using 32-bit single-precision tloating point format as per the EEE 754 standard. a) 0.8 b) -22.7 c) 3/8 d) NaN e) Negative infinity f 1.25 x 1041 Submission Instructions (read carefully) Create a single PDF file that contains all your answers, and name it your HowardU username plus pdf, for example my submission would be named gedare.bloom.pdf Check your conversion for any errors! Fill in your answers under the Homework3 assignment on BlackBoard, and upload your PDF file there too (Under the first question) O Type here to search /2/2018 6Explanation / Answer
Solution:
First four subparts have been solved as per Chegg guidelines, please repost others.
The format for single precision is mentioned below:
a)
0.8 in binary is
0.11001100110011001101
in normalized format
1.1001100110011001101 * 2^-1
Exponent = Actual exponent + Bias = -1 + 127 = 126
a)
0.8 in binary is
0.11001100110011001101
in normalized format
1.1001100110011001101 * 2^-1
Exponent = Actual exponent + Bias = -1 + 127 = 126
a)
0.8 in binary is
0.11001100110011001101
in normalized format
1.1001100110011001101 * 2^-1
Exponent = Actual exponent + Bias = -1 + 127 = 126
a)
0.8 in binary is
0.11001100110011001101
in normalized format
1.1001100110011001101 * 2^-1
Exponent = Actual exponent + Bias = -1 + 127 = 126
a)
0.8 in binary is
0.11001100110011001101
in normalized format
1.1001100110011001101 * 2^-1
Exponent = Actual exponent + Bias = -1 + 127 = 126
a)
0.8 in binary is
0.11001100110011001101
in normalized format
1.1001100110011001101 * 2^-1
Exponent = Actual exponent + Bias = -1 + 127 = 126
b)
-22.7
22.7 in binary is
10110.10110011001100110011
in normalized format
1.011010110011001100110011 * 2^4
Exponent = Actual exponent + Bias = 4 + 127 = 131
c)
3/8
0.375 in binary is
0.011
in normalized format
1.1 * 2^-2
Exponent = Actual exponent + Bias = -2 + 127 = 125
I hope this helps if you find any problem. Please comment below. Don't forget to give a thumbs up if you liked it. :)
Sign Exponent Mantissa 1 bit 8 bits 23 bitsRelated Questions
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.