Add support of NaN in opfunc_unary_minus

This commit is contained in:
Ilmir Usmanov committed 2014-10-15 15:33:00 +04:00
1 parent 032031a861
commit a9856dcf9a
2 files changed
+11 -9

No files matched your search

+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));