projects
/
unix-history
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
tags
|
clone url
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
blame
|
history
|
raw
|
HEAD
date and time created 80/10/30 00:36:03 by mckusick
[unix-history]
/
usr
/
src
/
usr.bin
/
pascal
/
libpc
/
RANDOM.c
/* Copyright (c) 1979 Regents of the University of California */
static char
sccsid
[] =
"@(#)RANDOM.c 1.1 %G%"
;
double
RANDOM
()
{
/*
* div by maxint to get 0..1
*/
return
(
rand
() /
2.147483647e+09
);
}