Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

PLEASE SHOW ALL STEPS FOR CREDIT. THANK YOU. Adding the numbers 0.44 ten and -0.324 ten using the algorithm shown in Figure 3.14 in the

PLEASE SHOW ALL STEPS FOR CREDIT. THANK YOU.

Adding the numbers 0.44ten and -0.324ten using the algorithm shown in Figure 3.14 in the textbook. Assume that we keep 4 bits precision. You need to clearly describe each step based on the provided algorithm.

image text in transcribed

Start 1. Compare the exponents of the two numbers; shift the smaller number to the right until its exponent would match the larger exponent 2. Add the significands 3. Normalize the sum, either shifting right and incrementing the exponent or shifting left and decrementing the exponent Overflow or Yes underflow? Exception 4. Round the significand to the appropriate number of bits No Still normalized? Yes Done FIGURE 3.14 Floating-point addition. The normal path is to execute steps 3 and 4 once, but if rounding causes the sum to be unnormalized, we must repeat step 3

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Graph Database Modeling With Neo4j

Authors: Ajit Singh

2nd Edition

B0BDWT2XLR, 979-8351798783

More Books

Students also viewed these Databases questions