Searched hist:164035 (Results 1 - 2 of 2) sorted by relevance

/freebsd-10.1-release/usr.bin/jot/
H A Djot.1diff 164035 Mon Nov 06 11:55:11 MST 2006 dds Do What I Mean when the user asks for random integers or characters.
Up to now jot would fail to generate the last character in the range
or skew the integer distribution in a way that would generate the numbers
in the range's limits with half the probability of the rest.

This modification fixes the program, rather than documenting the
strange behavior, as suggested in docs/54879.

Also, correctly specify the range of random(3).

PR: docs/54879
MFC after: 2 weeks
H A Djot.cdiff 164035 Mon Nov 06 11:55:11 MST 2006 dds Do What I Mean when the user asks for random integers or characters.
Up to now jot would fail to generate the last character in the range
or skew the integer distribution in a way that would generate the numbers
in the range's limits with half the probability of the rest.

This modification fixes the program, rather than documenting the
strange behavior, as suggested in docs/54879.

Also, correctly specify the range of random(3).

PR: docs/54879
MFC after: 2 weeks

Completed in 102 milliseconds