aboutsummaryrefslogtreecommitdiff
path: root/lib/PenroseRand.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/PenroseRand.c')
-rw-r--r--lib/PenroseRand.c13
1 files changed, 0 insertions, 13 deletions
diff --git a/lib/PenroseRand.c b/lib/PenroseRand.c
deleted file mode 100644
index 98f396e..0000000
--- a/lib/PenroseRand.c
+++ /dev/null
@@ -1,13 +0,0 @@
-#include "PenroseRand.h"
-
-float rrand(int *seed)
-{
- int i = ((*seed = *seed * 1103515245 + 12345)>>16) & 077777;
- return((float)i/16384. - 1.);
-}
-
-float prand(int *seed)
-{
- int i = ((*seed = *seed * 1103515245 + 12345)>>16) & 077777;
- return((float)i/32768.);
-}