-$2^{8-1}-1$ why???? -$2^{8-1}$ to $2^{8-1}-1$ why not???

The Gateway to Computer Science Excellence

0 votes

32 bit means single precision floating point number

Where exponent will be of 8 bits

So, range of exponent will be $-2^{8-1}-1$ to $2^{8-1}$ i.e.$-127$ to $128$

Where exponent will be of 8 bits

So, range of exponent will be $-2^{8-1}-1$ to $2^{8-1}$ i.e.$-127$ to $128$

+1

@ srestha I think for the IEEE 754 binary32 case, an exponent value of 127 represents the actual zero (i.e. for 2^{e − 127} to be one, e must be 127).** Exponents range from −126 to +127 **because exponents of −127 (all 0s) and +128 (all 1s) are reserved for special numbers.

0

@ 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)

- All categories
- General Aptitude 1.9k
- Engineering Mathematics 7.5k
- Digital Logic 2.9k
- Programming and DS 4.9k
- Algorithms 4.3k
- Theory of Computation 6.2k
- Compiler Design 2.1k
- Databases 4.1k
- CO and Architecture 3.4k
- Computer Networks 4.1k
- Non GATE 1.5k
- Others 1.5k
- Admissions 595
- Exam Queries 576
- Tier 1 Placement Questions 23
- Job Queries 72
- Projects 17

50,647 questions

56,492 answers

195,471 comments

100,773 users