Results 1 to 4 of 4

Thread: How many divisions?

Threaded View

  1. #1

    Thread Starter
    Fanatic Member x-ice's Avatar
    Join Date
    Mar 2004
    Location
    UK
    Posts
    671

    Resolved 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
  •  



Click Here to Expand Forum to Full Width