Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Problem 2 ( 2 0 points ) Consider the representation of numbers in standard floating - point form: x = ( - 1 ) S

Problem 2(20 points)
Consider the representation of numbers in standard floating-point form:
x=(-1)S(1.f)2(b-bias)
Now, consider a hypothetical computer, that represents floating point numbers with 12 bits, allocating 4
bits to the exponent, and 7 bits for the fraction.
(a)(10 points) What is the smallest positive number greater than zero that can be represented on this
computer?
(b)(5 points) What is machine precision, , for this computer?
(c)(5 points) Discuss the tradeoffs between the allocation of bits to the exponent versus the
fraction. In particular, as bits are re-allocated from the exponent to the fraction, what happens
to largest finite number, the smallest non-zero number, and machine epsilon? Explain briefly
image text in transcribed

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

Marketing Database Analytics

Authors: Andrew D. Banasiewicz

1st Edition

0415657881, 978-0415657884

More Books

Students also viewed these Databases questions

Question

Ensure continued excellence in people management.

Answered: 1 week ago

Question

Enhance the international team by recruiting the best people.

Answered: 1 week ago