2,295 views
9 9 votes
The decimal value of 0.005 in single precision floating point format is __________________

2 Answers

Best answer
2 2 votes

0.005

To calculate its binary equivalent

0.005 x 2 0
0.01 x 2  0
0.02 x 2 0
0.04 x 2 0
0.08 x 2 0
0.16 x 2  0
0.32 x 2 0
0.64 x 2  1
0.28 x 2  0
0.56 x 2  1
0.12 x 2  0
0.24 x 2 0
0.48 x 2 0
0.96 x 2 1
0.92 x 2 1
0.84 x 2 1
0.68 x 2 1
0.36 x 2 0
0.72 x 2 1
0.44 x 2 0
0.88 x 2 1
0.76 x 2 1
0.44 x 2 0
0.88 x 2 1
0.76 x 2 1
0.52 x 2 1
0.04 x 2 REPEAT

Binary Equivalent of 0.005 = 00000001010001111010111

also can be written as 1.010001111010111 x 2-8

Hence in IEEE single precision (exponent) = 127-8 = 119 = 01110111

Mantissa = 01000111101011100001010 (23 bits)

Sign Bit(1) Exponent(8) Fraction(23)
0 01110111 01000111101011100001010
selected by
Position:
Show:

Related questions

5 5 votes
0 0 answers
2.4k
2.4k views
Manu Thakur asked Jan 14, 2018
2,440 views
Can someone please validate if the given range is correct, and we can keep all 0's in Mantissa unlike biased exponent.
3 3 votes
0 0 answers
1.5k
1.5k views
Theo asked Jan 4, 2018
1,532 views
Question 1 (a) Convert the positive decimal number 17.45 to IEEE 754 single precision representation. Show all of your working out. [15 marks](b) In IEEE 754 single preci...
0 0 votes
0 0 answers
1.1k
1.1k views
3 3 votes
1 1 answer
1.7k
1.7k views
Raja Rawal asked Jan 14, 2019
1,709 views
how to solve this