0
7.8kviews
Explain single and double precision IEEE 754 binary floating point representation formats.
1 Answer
written 5.1 years ago by | modified 5.0 years ago by |
The floating point no in its normalized form contain various attributes as follow:
1.Mantissa x 2 exponent
These floating point numbers can be represented using IEEE 754 format as given below.
1.Single precision format:
It is 32 bit format and uses the bias value of $127_{10}$ to calculate biased exponent.
2.Double precision format:
$(178.625)_{10}$ into single precision format.
decimal no : $(178.625)_{10}$ Binary no : $(10110010.101)_2$
Normalized no :
Exponent - 7
Biased exponent : $(07 + 127) = (134)_{10}$
$= (1000 0110)_2$
Let us put mantissa and biased exponent in single precision IEEE 754 format.
Decimal no : $(178.625)_10$
Binary no :
Biased Exponent :
Let us put mantissa and BE in format :