Memory representation of double in c programming
language
Size of double is 64 bit. This is used
as:
1. 52 bit: for mantissa
2. 11 bit: for exponent (including one
signed bit of exponent)
3. 1 bit: for signed bit of mantissa
Memory representation of: double a = -3.3;
For
this you have to follow following steps:
Step1: convert the number (3.3) into binary form binary
value
No comments:
Post a Comment