Move uct_notify() to slave.c
[pachi/peepo.git] / random.h
blob0512e399fd9d32fb15bf05f8b0ae524fb59d440e
1 #ifndef ZZGO_RANDOM_H
2 #define ZZGO_RANDOM_H
4 void fast_srandom(unsigned long seed);
5 unsigned long fast_getseed(void);
6 /* Note that only 16bit numbers can be returned. */
7 unsigned long fast_random(unsigned int max);
8 /* Get random number in [0..1] range. */
9 float fast_frandom();
11 #endif