fixed js_strtod with large integers (github issue #206)

This commit is contained in:
Fabrice Bellard
2023-12-22 11:02:39 +01:00
parent 9e1ec09027
commit a96f440746
2 changed files with 7 additions and 2 deletions

View File

@@ -120,6 +120,7 @@ function test_cvt()
assert((Infinity >>> 0) === 0);
assert(((-Infinity) >>> 0) === 0);
assert(((4294967296 * 3 - 4) >>> 0) === (4294967296 - 4));
assert((19686109595169230000).toString() === "19686109595169230000");
}
function test_eq()