Searched refs:RANDOMSHIFT (Results 1 – 2 of 2) sorted by relevance
426 # ifndef RANDOMSHIFT /* random() doesn't work well (sometimes) */427 # define RANDOMSHIFT 8 macro2989 # ifndef RANDOMSHIFT2990 # define RANDOMSHIFT 8 macro
164 #if RANDOMSHIFT165 # define get_rand_mod(m) ((get_random() >> RANDOMSHIFT) % (m))