projects
/
polyglot.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
version 1.4.37b
[polyglot.git]
/
random.h
1
\r
2
// random.h
\r
3
\r
4
#ifndef RANDOM_H
\r
5
#define RANDOM_H
\r
6
\r
7
// includes
\r
8
\r
9
#include "util.h"
\r
10
\r
11
// defines
\r
12
\r
13
#define RandomNb 781
\r
14
\r
15
// macros
\r
16
\r
17
#define RANDOM_64(n) (Random64[(n)])
\r
18
\r
19
// "constants"
\r
20
\r
21
extern const uint64 Random64[RandomNb];
\r
22
\r
23
// functions
\r
24
\r
25
extern void random_init ();
\r
26
extern uint64 random_64 (int n);
\r
27
\r
28
#endif // !defined RANDOM_H
\r
29
\r
30
// end of random.h
\r
31
\r