If there are x numbers to be encoded in binary, then I need to have log2x bits.


For eg: 8 = 23


By multiplication principle, 3 bits can hold 8 values (0 to 7)


And log28 = 3.

Newer Posts Older Posts Home