Floating Point

Reference Resources

Example

3.14 => 0 128 4781507 = 0b 10000000b 10010001111010111000011b => 3.1400001049041748046875

Window

Within which two consecutive power-of-two the number will be: [0.5,1], [1,2], [2,4], [4,8]…

Sign Exponent Mantissa Sign Window Offset 1 8 23 21=2 28=256 223=8388608 [0;1] [0;255] [0;8388607]

( - 1 ) Sign * 2 ( Exp - 127 ) * 1 + M