Searched hist:bbc7056be81b9ca9990e68081710f90f943e47f1 (Results 1 – 1 of 1) sorted by relevance
/freebsd/usr.bin/jot/ |
H A D | jot.c | diff bbc7056be81b9ca9990e68081710f90f943e47f1 Fri Aug 01 18:23:24 CEST 2003 David Schultz <das@FreeBSD.org> Fix jot so that 'jot -r -w %d 1 1 4' never prints 4. Previously, it would print it with probability 1/2**32. It seems that the correct behavior is to print 4 with probability 1/4, but I'd like to avoid breaking POLA until all the range inconsistencies in jot can be fixed in one pass. See PR for details.
PR: 54878 Submitted by: David Brinegar <jot.3.brinegar@spamgourmet.com> diff bbc7056be81b9ca9990e68081710f90f943e47f1 Fri Aug 01 18:23:24 CEST 2003 David Schultz <das@FreeBSD.org> Fix jot so that 'jot -r -w %d 1 1 4' never prints 4. Previously, it would print it with probability 1/2**32. It seems that the correct behavior is to print 4 with probability 1/4, but I'd like to avoid breaking POLA until all the range inconsistencies in jot can be fixed in one pass. See PR for details.
PR: 54878 Submitted by: David Brinegar <jot.3.brinegar@spamgourmet.com>
|