Posted by
Aku
at
6:18 PM
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.
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.