|
-
May 18th, 2005, 11:41 AM
#20
Re: Dividing without dividing
I got it. You multiply the inverse of the number you are dividing.
Y / X = Y * 1 / X
Unfortunately you are still dividing, since the inverse is 1 / X.
Is it possible to create an inverse of a number using bitshifting, or Mod, or anything other than dividing? If I can figure this one out, I'll do a performance test and see what I get.
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
|