|
-
Jul 20th, 2005, 06:48 AM
#1
Thread Starter
Fanatic Member
How many divisions?
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
Last edited by x-ice; Jul 21st, 2005 at 09:26 AM.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|