Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

Question 4 D To F thank you eM7) N × \\G(47) N x \\@ CSCI 2 ×/D Home x ks.pdf AW

ID: 3722317 • Letter: Q

Question

Question 4 D To F thank you

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 6

Explanation / Answer

D) for NaN ---->> exponent should be 255(all bits are 1's) and mantissa is any non-zero( if atleast any bit is 1 )

E) exponent 255, mantissa is 0

F)1.25 x 1041

Largest number that can be represented in single precision(32 bits) = 1. 1 1 1 1 1 1 1 1 x 2+127 approximately  equals to 2 x 10+38 so 1.25 x 1041 cannot be represented in this format.

THANKS,, FOR ANY QUERY COMMENT IN BOX.

  

0 or 1 11111111 00100000000000000000000 sign bit exponent 8 bit mantissa 23 bits
Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote