Q3-Solution-101 - 2 × 2-37 = -1.15625 × 2-37 = -8.412826...

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
ICS 233 Computer Architecture & Assembly – Fall 2010 Quiz 3 on Floating-Point, Wednesday, December 8, 2010 SOLUTION 1. (8 pts) What is the decimal value of the following single-precision floating-point number? 1010 1101 0001 0100 0000 0000 0000 0000 (binary) Solution: a) Sign is negative Exponent value = 01011010 2 - 127 = -37 Significand = 1.001 0100 0000 0000 0000 0000 2 Decimal value = -1.00101
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: 2 × 2-37 = -1.15625 × 2-37 = -8.412826 × 10-12 2. (12 pts) Show the Single Precision IEEE 754 representation for -75.4 , rounded to the nearest even. Solution: 75 = 1001011 2 0.4 = 0.0110 2 = 0.01100110 2 ... 75.4 = 1001011.0110 2 = 1.0010110110 2 × 2 6 a) Single-Precison: Biased exponent = 6 + 127 = 133 1 10000101 0010110110011001100110 1 2 (rounded to nearest even)...
View Full Document

This note was uploaded on 12/24/2010 for the course ICS 233 taught by Professor Prof.john during the Spring '10 term at Aachen University of Applied Sciences.

Ask a homework question - tutors are online