I'm really curious about how Double Precision Floating point number is stored.
These are things I figured out so far.
- They require 64 bits in memory
- Consist of three parts
- Sign bit (1 bit long)
- Exponent (11 bit long)
- Fraction (53 bits, the first bit is assumed always to be 1, thus only 52 are stored, except when all 52 bits are 0. Then leading bit is assumed to be 0)
However I do not uderstand what is exponent, exponent bias and all those formulas in wikipedia page.
Can anyone explain me what are all those things, how they work and eventually calculated to the real number step by step?