summaryrefslogtreecommitdiff
path: root/rc/bin/rcpu
diff options
context:
space:
mode:
authorcinap_lenrek <cinap_lenrek@felloff.net>2016-12-18 18:00:45 +0100
committercinap_lenrek <cinap_lenrek@felloff.net>2016-12-18 18:00:45 +0100
commit4f72cda4acaa92dfaddb29891d86efeea990e030 (patch)
tree7ab5e3aa3dde5f78012a372c7809f6fe26adf312 /rc/bin/rcpu
parent2830cd7eb6182eb7bc42e10557a160156649859c (diff)
downloadplan9front-4f72cda4acaa92dfaddb29891d86efeea990e030.tar.xz
awk: improve random number generation
don't use rand() and scale it to 0..1, instead call native frand() which produces uniform random number. instead of seeding the rng with time(0), use truerand().
Diffstat (limited to 'rc/bin/rcpu')
0 files changed, 0 insertions, 0 deletions