projects
/
snark14.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Fix permissions on script
[snark14.git]
/
src
/
DIGRand
/
DIGRand.cpp
1
2
#include <cstdlib>
3
4
//#include "DIGRand.h"
5
#include <DIGRand/DIGRand.h>
6
7
void Srand(unsigned int pSeed)
8
{
9
srand(pSeed);
10
}
11
12
double Rand(void)
13
{
14
return ((double) rand()) / (RAND_MAX + 1.0);
15
}
16