World's most popular travel blog for travel bloggers.

floating point normalised value of -1

, , No Comments
Problem Detail: 

I have, lets say, 8 bits mantissa and 4 bit exponent. Then,

-1=1111 1111 there are no 0s so how can I normalise -1 in 2's complement form?

Asked By : Damodar Dahal
Answered By : Damodar Dahal

Sorry, I found out the answer myself. It is 1000 000 manitssa and 0000 exponent. for mantissa, 1.000 0000 = -128 *power(2,-7).

for exponent, 0000 = 0. So, result= -128 * power(2,-7)

Best Answer from StackOverflow

Question Source : http://cs.stackexchange.com/questions/26141

3200 people like this

 Download Related Notes/Documents

0 comments:

Post a Comment

Let us know your responses and feedback