Add support of NaN in opfunc_unary_minus

This commit is contained in:
Ilmir Usmanov
2014-10-15 15:33:00 +04:00
parent 032031a861
commit a9856dcf9a
2 changed files with 11 additions and 9 deletions
+1
View File
@@ -16,3 +16,4 @@ assert (+0 === -0);
assert (1/-0 === -Infinity);
assert (1/+0 === Infinity);
assert ("3" -+-+-+ "1" + "1" / "3" * "6" + "2" === "42");
assert (isNaN (-NaN));