Why is it impossible to represent x exactly in 32-bit ieee

Assignment Help Basic Computer Science
Reference no: EM13695873

Question 1: Let X = 11.00000 00000 00000 00000 011?;

(a) Why is it impossible to represent X exactly in 32-bit IEEE ?oating-point? (b) and (c) What are the two binary numbers closest to X that we *can* represent?

For problems 11 and 12, represent binary numbers using 5 signi?cant bits. (One way to do this is to always represent numbers as 1.bbbb?×?2? where the b's are bits and n is an exponent.
So we can't represent 100001 because that would be 1.00001 ? ×?2?. It also means we can't carry out the addition 100000 + 1 without truncation (of a nonzero bit).

Question 2: To calculate (.00001 + .00001) + 1.0000 requires two additions. (a) Does the ?rst addition, .00001 + .00001, cause truncation (of nonzero bits) before or after the addition? If so, specify how and when (b) Does the second addition, [the value from part a] + 1.0000?

Question 3: Repeat the previous question on .00001 + (.00001 + 1.0000). (Part a is the right-hand addition; part b is the left-hand addition.)

Solve these questions in details and provide examples to support your rationale.

Reference no: EM13695873

Questions Cloud

Under the sarbanes-oxley act : The Sarbanes-Oxley Act of 2002, limits the non audit services that an audit firm can provide to public company audit clients. Which of the following is most likely to be a service that an auditor may provide to a public client? According to COSO, the..
Measure the execution time of the three sorting algorithms : The program should display the array values before sorting and then after invoking each sorting method. For this case, consider SIZE value 100 and MAXRNG value 9999.
Calculator to do the suitable matrix exponentiation : Every company makes particular restrictions for passwords, but employees of ABC have particularly strange restrictions. Their passwords may only consist of the lowercase letters
Calculate compounded monthly interest : So for example if I were to have an initial balance of $1250.00 with an interest rate of %13 paid over the course of 4 months it should come out to $2038.09 total for interest added to the initial balance
Why is it impossible to represent x exactly in 32-bit ieee : Why is it impossible to represent X exactly in 32-bit IEEE ?oating-point? (b) and (c) What are the two binary numbers closest to X that we *can* represent?
Program that translates a letter grade into a number grade : Write a program that translates a letter grade into a number grade. Letter grades are A, B, C, D, and F, possibly followed by + or -.
Create a website for a fashion designer : Imagine that an associate of yours just designed a table with captions outside the table's borders. The font on the Website is black, and the text inside the table is red.
Draw the recursive process of quicksort : Draw the recursive process of Quicksort and Mergesort for sorting the sequence {5, 1, 2, 9, 7}. You will get a recursion tree for Quicksort and Mergesort respectively. What are their depths?
Create a new web page : Create a new web page with one image and corresponding JavaScript file. You will teach the image to play the "keep away" game. Give the image an ID so that your script can find it with the getElementById method.

Reviews

Write a Review

 

Basic Computer Science Questions & Answers

  Should sgi develop any new software with derqs

Should SGI develop any new software with DERQS? If not, what tools should it acquire for new system development?

  What would be the best choice of the degree

A B+ - tree index is to be built on the name attribute of the relation student. Assume that all the student names are o length 8bytes, disk blocks are of size 512 bytes , and index pointer are of size 4bytes. Given this scenariom, what would be th..

  Create class savingsaccount

Create class SavingsAccount. Use a static variable annualInterestRate to store the annual interest rate for all account holders. Each object of the class contains a private instance variable savingBalance indicating the amount that saver currently..

  Document how the game works

Improve the program's functionality by utilizing at least 5 of the concepts from the list below. Document how the game works, including how you utilized each of the chosen concepts and what it's role is inthe overall program.

  Dtermine whether the implementation of hypervisors has an

a hypervisor is computer hardware platform virtualization software that allows multiple different operating systems os

  What are popular database management systems why use oracle

What are some of the more popular database management systems? Why use Oracle

  Determine the first sets of each of the rhss

determine the FIRST sets of each of the RHSs of each of the productions. Assume that upper case letters are nonterminals and lower case letters are terminal symbols. A -> abD | acD | D D -> d | eD Apply the pairwise disjointness test to show that ..

  The command sequence in a normal smtp session

1.What would the command sequence in a normal SMTP session be? Use C: to preface a command issued by the client and S: to preface a command issued by the server.

  Explain performance which is boost by new version of chip

Let the following hypothetical news release: "Company will unveil industry's first 5 GHz version of chip, which presents 25% performance boost over company's former speed champ. Explain the definition (or definitions) of performance.

  Traditional approach or a type of agile approach

When evaluating a proposal for acquisition and sourcing, are there considerations that are unique in the case of an IT project versus a non-IT project?

  Statements that make variable-s field-s values consistent

Write one or two statements that make this variable's field's values consistent with the mathematical notion of "origin".

  Swing gui to translate test this is input in english

Design and code a SWING GUI to translate test this is input in English into Pig Latin.You can assume that the sentence contains no punctuation. The rules for Pig Latin are

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd