Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

[15 points] Assume there are two computer systems: (i) One that uses fixed-point decimal arithmetic with 2 digits after the decimal point and 3 digits

image text in transcribed

[15 points] Assume there are two computer systems: (i) One that uses fixed-point decimal arithmetic with 2 digits after the decimal point and 3 digits before the decimal point (i.e. ddd.dd). The digit required for the sign is separate and you don't need to worry about it. (ii) Another that uses floating-point decimal arithmetic with 3 digits mantissa (after the decimal point) and 1 digit for the exponent (i.e. .ddd 10d ). The digits required for the sign of the mantissa and the sign of the exponent are separate and you don't need to worry about them. Compute the results of the following five arithmetic operations on each computer system. Assume that all computer operations return the correctly rounded result (i.e. the number closest to the correct answer in the representation being used). Indicate if rounding, overflow or underflow occurs. (260+1.27)+0.1260+(1.27+0.1)3.080.13.080.01900100 What is the range of representable numbers (i.e. the range of numbers for which no overflow happens) in each of the two systems? Which one if larger? What are the ranges of numbers for which underflow happens in each of the two systems? Which one if smaller? (Assume that, in the fixed-point system, the leading decimal digit can be zero, while, in the floating-point system, only normalized mantissae are allowed.)

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

Genomes And Databases On The Internet A Practical Guide To Functions And Applications

Authors: Paul Rangel

1st Edition

189848631X, 978-1898486312

More Books

Students also viewed these Databases questions

Question

Presentations Approaches to Conveying Information

Answered: 1 week ago