80286 1982 134 k transistors added more and now

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

View Full Document Right Arrow Icon
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: 0) B. (x & 7) != 7 || (x<<30 < 0) C. (x * x) >= 0 D. x < 0 || -x <= 0 E. x > 0 || -x >= 0 F. x*y == ux*uy G. ˜x*y + uy*ux == -y Homework Problem 2.46 [Category 2]: Consider numbers having a binary representation consisting of an infinite string of the form ¼ Ý Ý Ý Ý Ý Ý ¡ ¡ ¡, where Ý is a -bit sequence. For example, the binary representation of ½ is ¼ ¼½¼½¼½¼½ ¡ ¡ ¡ (Ý ¼½), while ¿ the representation of ½ is ¼ ¼¼½½¼¼½½¼¼½½ ¡ ¡ ¡ (Ý ¼¼½½). A. Let ¾Í ´Ý µ, that is, the number having binary representation Ý . Give a formula in terms of and for the value represented by the infinite string. [Hint: Consider the effect of shifting the binary point positions to the right.] B. What is the numeric value of the string for the following values of Ý ? (a) ¼¼½ 86 (b) (c) ½¼¼½ ¼¼¼½½½ CHAPTER 2. REPRESENTING AND MANIPULATING INFORMATION Homework Problem 2.47 [Category 1]: Fill in the return value for the following procedure that tests whet...
View Full Document

This note was uploaded on 09/02/2010 for the course ELECTRICAL 360 taught by Professor Schultz during the Spring '10 term at BYU.

Ask a homework question - tutors are online