I'd just do a bitwise shift left 12 then a bitwise shift right 12
Don't you mean the other way around? Maybe I have a different meaning for first 12
Last edited by gerard4143; Nov 7th, 2009 at 1:54 pm.
Reputation Points: 499
Solved Threads: 367
Postaholic
Offline 2,197 posts
since Jan 2008