Fix bug in make.number.float

This commit is contained in:
pyoor 2017-06-23 11:36:33 -04:00
parent 72322bbb2d
commit 3cda93c824

View file

@ -11,7 +11,7 @@ make.number = {
if (random.chance(32)) { if (random.chance(32)) {
switch (random.number(4)) { switch (random.number(4)) {
case 0: case 0:
n = random.range(Number.MAX_VALUE, Number.MIN_VALUE) n = random.range(Number.MIN_VALUE, Number.MAX_VALUE)
break break
case 1: case 1:
n = Math.pow(10, 1) / Math.pow(10, random.number(307)) n = Math.pow(10, 1) / Math.pow(10, random.number(307))