/* Steven Andrews, 5/12/95; modified 8/6/96, converted to #define 11/98 */ /* See documentation called random doc */ /* Copyright 2003 by Steven Andrews. Permission is granted for non-commercial use of and modifications to the code. */ #ifndef __random_h #define __random_h #include #include #include #define RAND_MAX_30 1073741823 #if RAND_MAX==32767 #define rand30() ((long)rand()<<15|rand()) #elif RAND_MAX