Fix parseInt routines after refactoring (#655)

This commit is contained in:
Max Graey
2019-06-12 11:17:01 +03:00
committed by Daniel Wirtz
parent 40dac8269d
commit f9a77b132f
9 changed files with 3142 additions and 1927 deletions

File diff suppressed because it is too large Load Diff

View File

@ -79,6 +79,9 @@ assert(parseInt("0x1g") == 1); // not valid
assert(parseInt(" \t\n1") == 1);
assert(parseInt(" \t\n0x02") == 2);
assert(I32.parseInt("0x7FFFFFFF") == I32.MAX_VALUE);
assert(I64.parseInt("0x7FFFFFFFFFFFFFFF") == I64.MAX_VALUE);
assert(parseFloat("0") == 0);
assert(parseFloat("1") == 1);
assert(parseFloat("0.1") == 0.1);

File diff suppressed because it is too large Load Diff