repo.or.cz
/
pachi.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Merge branch 'master' of git+ssh://repo.or.cz/srv/git/pachi
[pachi.git]
/
random.h
blob
4234c3b53c3ae124619a05426ec939fd8b0bbfe6
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
9
#endif