Hello,
I do not know what this instruction does:
temp >>= 15;
The context where I found is:
Code:int my_random(int max) { // Return Random Int Between 0 and max unsigned long temp; temp = (unsigned long) rand(); temp *= (unsigned long) max; temp >>= 15; return (int) temp; }
Help!