The Gateway to Computer Science Excellence
+1 vote
145 views
A 32-bit floating-point number(follows IEEE STANDARD) is represented by a 8-bit signed exponent, and a 23-bit fractional mantissa. The base of the scale factor is 16,

The range of the exponent is ___________, if the scale factor is represented in excess-64 format.
in Digital Logic by Loyal (8.3k points) | 145 views

1 Answer

0 votes
the number will be represented in the form of (-1)^s(0.M)*16^(E-64).the range of exponent can be given as (-128 to 127) because exponent is 8 bit signed number(2's complement).am i right?????
by Active (2.8k points)
0

@ BASANT KUMAR  Exponents range from −126 to +127.

Minimum #= -126

Maximum #= 127

In EXCEES-64 =  (-126 - 64)  TO  (127-64) = -190 TO + 63

Is it correct?

+1

@iarnav , range of exponents will be from -126 to +127 if we take 32-bit single precision floating point number in implicit normalised binary form   because for this form , 

1 $\leq$ E $\leq$ 254 , So, range of exponent will be 1-127 = -126 to 254-127 = +127 because here bias is 127 (i.e. bias is in Excess-127 format) 

But here , excess-64 format is given . so bias = 64

and since single precision floating point number is not mentioned , so we have to take 0 $\leq$ E $\leq$ 255 .so, range of exponent is  from 0 - 64 = -64 to 255-64 = +191.. I am not getting the meaning of "The base of the scale factor is 16" . if you know then please explain.

+1

@ ankitgupta.1729 "The base of the scale factor is 16" means that exponent is raised to 16.

For example- (-1)^s * 1.M * 16^ (exponent-bias)

0
@iarnav , Thank you! can you please tell me that bias should be calculated in 16's complement form or 2's complement form if base is 16 ?
0

So  -190 to +63 is correct answer or not.

And also explain the

 The base of the scale factor is 16,

Related questions

Quick search syntax
tags tag:apple
author user:martin
title title:apple
content content:apple
exclude -tag:apple
force match +apple
views views:100
score score:10
answers answers:2
is accepted isaccepted:true
is closed isclosed:true
50,645 questions
56,601 answers
195,852 comments
102,219 users