First time here? Checkout the FAQ!
+3 votes
Fill in the blanks:

A 32-bit floating-point number is represented by a 7-bit signed exponent, and a 24-bit fractional mantissa. The base of the scale factor is 16,

(a) The range of the exponent is ___________

(b) The range of the exponent is ___________, if the scale factor is represented in excess-64 format.
asked in Digital Logic by Veteran (39.7k points) 253 1302 1929 | 536 views

2 Answers

+2 votes
Best answer

a) range of exponent

as given exponent bits are 7 bits ....

so min it could be all 7 bit are 0's and maximum it could all 1's ...

minimum number =0 , and maximum number = 127

as in a) part nothing is given about bias .. so bias = $2^{7-1}-1=63$  (nothing is given about single precision also so i used general method )

so exponent range will be 0-63 to 127-63 = - 63 to 64 .



b) minimum number = 0 , maximum number = 127 ,

as here given excess 64 so bias number is 64 ,

then range will be 0-64=-64 to (127-64=63) 63..

here in question given that base is 16 , it will get simply shifting of mantissa bit ... yes range of value is increased by large base ...(-1)s ( 0.M) 16 E-bias .

correct me if i am wrong

answered by Veteran (13.5k points) 25 58 127
selected by
@ sonam vyas
for (a) part
wouldn't the range of exponent be -63 to + 63 because in question they have said that 7 bit signed exponent.
And, we usually use bias to prevent using sign bit of exponent to represent the range.
Also, in (b) they have asked us to recalculate the range of exponent if bias was given
so why you have assumed bias in (a) part?
Since Signed data is stored in 2'complement form by default range of exponent is -64 to + 63
0 votes

The given floating point number format is 

Sign bit(1) Exponent(7 bit) Mantissa(24 bit)


A. Since the Number is signed so the range of exponent is

-2n-1 to 2n-1-1 therefore exponent range is -64 to +63.

B. Now scale factor is represents in excess-64 format

Therefore range 

-2n-1  +64 to 2n-1-1 +64


Range will be 0 to127



answered by Junior (801 points) 10 32

Since the Number is signed so the range of exponent is

-2n-1 to 2n-1-1

It is given that the base is "16" and not "2".

But we store the number in binary form so range might be the same like binary for 16 scale factor ? sir plz correct me
@Arjun sir  , then what will be the correct answer ?
@Arjun sir plz explain??
scale factor 16,plz explain?

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
Top Users Oct 2017
  1. Arjun

    23242 Points

  2. Bikram

    17048 Points

  3. Habibkhan

    7096 Points

  4. srestha

    6012 Points

  5. Debashish Deka

    5430 Points

  6. jothee

    4928 Points

  7. Sachin Mittal 1

    4762 Points

  8. joshi_nitish

    4278 Points

  9. sushmita

    3954 Points

  10. Rishi yadav

    3744 Points

Recent Badges

Popular Question Ml_Nlp
Notable Question set2018
Notable Question rahul sharma 5
Notable Question Sanjay Sharma
Notable Question Lakshman Patel RJIT
Popular Question makhdoom ghaya
Popular Question Çșȇ ʛấẗẻ
Reader kenzou
Popular Question mystylecse
Notable Question Sanjay Sharma
27,262 questions
35,076 answers
33,185 users