So what would be the solution - thats my problem, I cant work out the solution to that "special case".
Type: Posts; User: a.mlw.walker
So what would be the solution - thats my problem, I cant work out the solution to that "special case".
What about when it hits 0x8000? Will it just stop?
Sorry do you mind showing me what you would do for the other direction? Im not sure how to handle that one.
Hi.
I am trying to write a couple of algorithms that take in a 16 bit number, use a mask to move along the bits and if the mask & number = 1, do something.
The first thing to point out is this is...