324_Book

80286 1982 134 k transistors added more and now

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

This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: 0) B. (x &amp; 7) != 7 || (x&lt;&lt;30 &lt; 0) C. (x * x) &gt;= 0 D. x &lt; 0 || -x &lt;= 0 E. x &gt; 0 || -x &gt;= 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 inﬁnite 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 inﬁnite 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