diff options
author | tholo <> | 1996-03-30 10:01:47 +0000 |
---|---|---|
committer | tholo <> | 1996-03-30 10:01:47 +0000 |
commit | 83fa873dce1a7d0a9a23de76faf3817f44278e9b (patch) | |
tree | 0ff35e4c3fc6960d623f7f3d7b125fafb2a9a51b /src/lib/libc/string/ffs.c | |
parent | 459b9ce58e48cda3e0c36646c65c2c1ec402dd50 (diff) | |
download | openbsd-83fa873dce1a7d0a9a23de76faf3817f44278e9b.tar.gz openbsd-83fa873dce1a7d0a9a23de76faf3817f44278e9b.tar.bz2 openbsd-83fa873dce1a7d0a9a23de76faf3817f44278e9b.zip |
Substantially improve random number generation by using the largest prime
that fits inside 32 bits as the denominator; take care not to overflow.
Regenerate initial seed after replacing the generator
Diffstat (limited to 'src/lib/libc/string/ffs.c')
0 files changed, 0 insertions, 0 deletions