summaryrefslogtreecommitdiffstats
path: root/lib/libc/stdlib/rand.c
Commit message (Collapse)AuthorAgeFilesLines
* urandom(4) -> random(4) in comments.dd2001-06-071-1/+1
| | | | | | | PR: 27858 Submitted by: Yoshihiro Koya <Yoshihiro.Koya@math.yokohama-cu.ac.jp> Reviewed by: md5(1) Approved by: markm
* Add #include "un-namespace.h"ache2001-04-231-0/+1
|
* srand*dev() fallback code: change ^getpid() to ^(getpid() << 16) to allowache2001-04-231-1/+1
| | | | change of high word part too to produce more interesting seed distribution.
* Add sranddev() since srand() is not vary much with seed, typical timeache2001-04-231-0/+34
|
* Use formula with better random distribution for rand()ache2001-02-271-0/+26
| | | | | | Even better formula from random() could not be intetgrated because rand_r() supposed to store its state in the single variable (but table needed for random() algorithm integration).
* Added Posix rand_r function.wes1999-05-241-1/+52
|
* BSD 4.4 Lite Lib Sourcesrgrimes1994-05-271-0/+54
OpenPOWER on IntegriCloud