ciao a tutti,
non so cosa faccia esattamente questa istruzione:
temp >>= 15;

Il contesto dove l´ho trovata é questo:

codice:
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