How can i establish how many times i need to divide a number by 2 before it gets to 0 without actually doing the divisions (these will be done later)?
I want to do this because i need to establish how many array spaces i need for all the divided numbers to go into.
For Example. If the number was 96, i would need to divide this 7 times before it goes to zero.
96
48
24
12
6
3
1.5
0
