Results 1 to 11 of 11

Thread: Dividing by divisors.

Threaded View

  1. #1

    Thread Starter
    Fanatic Member BlindSniper's Avatar
    Join Date
    Jan 2011
    Location
    South Africa
    Posts
    865

    Dividing by divisors.

    Hi all,
    I'm Writing a program and I'm curious about something. If you have a value and you are always dividing by a divisor, is there something faster than Integer division ? Like some sort of bit manipulation ?


    EDIT:
    I just realized that Integer Division is just one instruction, it would be hard to beat it by using more instructions, but in the case of me being wrong, I'll leave the thread open.
    Last edited by BlindSniper; May 19th, 2012 at 04:50 PM.

    Useful CodeBank Entries of mine
    Expand Function
    Code Compiler
    Sudoku Solver
    HotKeyHandler Class

    Read this to get Effective help on VBForums
    Hitchhiker's Guide to Getting Help at VBF

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