repo.or.cz
/
pachi
/
peepo.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Move uct_notify() to slave.c
[pachi/peepo.git]
/
random.h
blob
0512e399fd9d32fb15bf05f8b0ae524fb59d440e
1
#ifndef ZZGO_RANDOM_H
2
#define ZZGO_RANDOM_H
3
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
();
10
11
#endif