How to divide a 32-bit number by 10, on a 64-bit processor:
d = (i * 0xCCCCCCCDLLU)>>35;
#Programming
-
-
Oops! Upon reading §6.2.6.2, I see that the restriction I was thinking of only applies to unsigned char. Sorry!
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.