Favor lower numbers in make.number.any()
This commit is contained in:
parent
fa4546d8b6
commit
a1aab62256
1 changed files with 1 additions and 1 deletions
|
@ -41,7 +41,7 @@ make.number = {
|
|||
if (random.chance(2)) {
|
||||
return Math.abs(make.number.any())
|
||||
}
|
||||
return Math.pow(2, random.number(65)) + random.number(3) - 1
|
||||
return Math.pow(2, random.number(random.number(65))) + random.number(3) - 1
|
||||
},
|
||||
even: function (number) {
|
||||
return number % 2 === 1 ? ++number : number
|
||||
|
|
Loading…
Reference in a new issue