Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

3. A machine uses 40-bit floating point representation. S11-bit Exponent(E) 28-bit Significand(M) The value is given by V = (- 1)SIM 2E-1023 Assuming that there

image text in transcribed

3. A machine uses 40-bit floating point representation. S11-bit Exponent(E) 28-bit Significand(M) The value is given by V = (- 1)SIM 2E-1023 Assuming that there are no special bit patterns reserved (a) Write down the value represented by the bit pattern c06f800000 (hex) (b) Write down the bit pattern representing the value 25.3125. (c) Write down the largest positive number that can be represented (d) Write down the smallest positive number other than zero that can be repre- sented. 4. (a) The n-th term of Fibonacci number fn is defined as fn= fn-1 + fn-2 Explain why when you write a program which uses integer to store the Fi- bonacci number, you will get the following result: f45 = 1134903170, f46 183631 1903 and f47-1323752223 ? (b) What is the relation between range and precision in floating point number representation

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

Principles Of Database Systems With Internet And Java Applications

Authors: Greg Riccardi

1st Edition

020161247X, 978-0201612479

More Books

Students also viewed these Databases questions