repo.or.cz
/
Lilanci.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
CMakeLists.txt typo; .gitignore
[Lilanci.git]
/
util.h
blob
94be5ea7f74f89e23d53bdf927e23df29f770c53
1
#ifndef UTIL_H_G
2
#define UTIL_H_G
3
4
#define false 0
5
#define true 1
6
#include <stdlib.h>
7
8
#define RandD(min, max) min+(max-min)*((double)rand()/(double)RAND_MAX)
9
#define RandI(min, max) min+(max-min)*((double)rand()/(double)RAND_MAX)
10
11
#endif
//UTIL_H_G