How many bits are need to represent some entity given its range of numbers?
Hi I need some help on converting the range to a number of bits. How would I calculate that? From what I know a range of 6 should convert to 64 I believe. So how would a range of 365 for example, calculate into bits?
- 2 months ago
How many times can it be divided by 2 until the quotient is 1. That is the number of bits required to represent that number.
- David KLv 62 months ago
This is an iterative process and, it's so involved that you will usually find tables of ranges for careers needing that information. To do it yourself, here is a how-to page: