Advertisement
FatalSleep

Untitled

Jul 15th, 2014
204
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.15 KB | None | 0 0
  1. Using bitshifting I can easily calculate the exponent of 64 without having to use a loop...
  2. ( 64 power of i ) = ( 64 << ( ( i > 0 ) ? ( i - 1 ) * 6 : 0 ) );
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement