Uses psh-fractional and psh-prng to generate a random number in a range
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Mia c08a176b99
change to xor; set a max length of 10 as psh-fractional is not great
5 months ago
math@e8124ffad9 change to xor; set a max length of 10 as psh-fractional is not great 5 months ago
ran@e2cb4cf198 change to xor; set a max length of 10 as psh-fractional is not great 5 months ago
.gitmodules change to xor; set a max length of 10 as psh-fractional is not great 5 months ago
LICENSE add UnLicense 7 months ago
README init 7 months ago
range change to xor; set a max length of 10 as psh-fractional is not great 5 months ago

README

---
psh-range
-- library to generate random numbers
-- in a range with few lines of code
---
Usage
-- ./range $min $max
-- eg: ./range 1 10
-- <= $max
-- >= $min
---