Fix handling of 1.797693134862315808e+308 floating point value.

JerryScript-DCO-1.0-Signed-off-by: Ruben Ayrapetyan r.ayrapetyan@samsung.com
This commit is contained in:
Ruben Ayrapetyan
2015-10-28 22:05:13 +03:00
parent 04ca231fa4
commit 2bfd754ef3
3 changed files with 5 additions and 3 deletions
+2
View File
@@ -24,3 +24,5 @@ big++;
assert(big == 2147483649); // overflow on 32bit numbers
assert ((1152921504606846900).toString() === "1152921504606847000")
assert (1.797693134862315808e+308 === Infinity);