Show how the computer would add two floating-point numbers

Assignment Help Computer Engineering
Reference no: EM131167993

Assume we are using the simple model for floating-point representation as given in this book (the representation uses a 14-bit format, 5 bits for the exponent with a bias of 16, a normalized mantissa of 8 bits, and a single sign bit for the number):

a) Show how the computer would represent the numbers 100.0 and 0.25 using this floating-point format.

b) Show how the computer would add the two floating-point numbers in part a by changing one of the numbers so they are both expressed using the same power of 2.

c) Show how the computer would represent the sum in part b using the given floating-point representation. What decimal value for the sum is the computer actually storing? Explain.

Reference no: EM131167993

Questions Cloud

What is the largest positive and smallest negative number : What is the largest positive and the smallest negative number that can be stored on this system if the storage is normalized? What bias should be used in the exponent if we prefer all exponents to be nonnegative?
How each plays a role in his success as president : Describe the president's relationships with the public, Congress, and the media, and how each plays a role in his success as president. Give one specific piece of advice to the next president about how to be successful. Give one specific piece of ..
What is the z value for a person : Answer these three questions and show all your work and use the z-table that is in the back of all statistic book 1) Suppose you know that adult female height is normally distributed and the mean is 65 inches with a std dev of 1.2 inches. What is th..
What is the level of production in the market equilibrium : Consider an industry with demand q = 120 - 3p and supply q = 2p - 10. What is the level of production in the market equilibrium? What is the socially optimal level of production
Show how the computer would add two floating-point numbers : Show how the computer would add the two floating-point numbers in part a by changing one of the numbers so they are both expressed using the same power of 2.
What percent of scores fall : Scores on the SAT verbal test are ND with a mean of 505 and std. dev. of 110. (a) What percent of scores fall between 520 and 600? (b) What percent of scores fall between 450 and 550?
Why do we usually store floating-point numbers in normalized : Why do we usually store floating-point numbers in normalized form? What is the advantage of using a bias as opposed to adding a sign bit to the exponent?
Explain the variation in a particular dependent variable : explain the variation in a particular dependent variable. The regression output for each equation can be summarized as follows:
Probability that the sum of the two dice : What is the probability that the sum of the two dice is 7 given that the first one is an even number? Show all work. Just the answer, without supporting work, will receive no credit. Are event A and event B independent? Explain.

Reviews

Write a Review

Computer Engineering Questions & Answers

  Mathematics in computing

Binary search tree, and postorder and preorder traversal Determine the shortest path in Graph

  Ict governance

ICT is defined as the term of Information and communication technologies, it is diverse set of technical tools and resources used by the government agencies to communicate and produce, circulate, store, and manage all information.

  Implementation of memory management

Assignment covers the following eight topics and explore the implementation of memory management, processes and threads.

  Realize business and organizational data storage

Realize business and organizational data storage and fast access times are much more important than they have ever been. Compare and contrast magnetic tapes, magnetic disks, optical discs

  What is the protocol overhead

What are the advantages of using a compiled language over an interpreted one? Under what circumstances would you select to use an interpreted language?

  Implementation of memory management

Paper describes about memory management. How memory is used in executing programs and its critical support for applications.

  Define open and closed loop control systems

Define open and closed loop cotrol systems.Explain difference between time varying and time invariant control system wth suitable example.

  Prepare a proposal to deploy windows server

Prepare a proposal to deploy Windows Server onto an existing network based on the provided scenario.

  Security policy document project

Analyze security requirements and develop a security policy

  Write a procedure that produces independent stack objects

Write a procedure (make-stack) that produces independent stack objects, using a message-passing style, e.g.

  Define a suitable functional unit

Define a suitable functional unit for a comparative study between two different types of paint.

  Calculate yield to maturity and bond prices

Calculate yield to maturity (YTM) and bond prices

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