浏览代码

specification fix

Simon Krajewski 12 年之前
父节点
当前提交
f762bf2c5b
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      tests/unit/unitstd/Math.unit.hx

+ 1 - 1
tests/unit/unitstd/Math.unit.hx

@@ -178,7 +178,7 @@ Math.floor( -1.0) == -1;
 Math.floor( -1.0001) == -2;
 Math.ffloor(Math.POSITIVE_INFINITY) == Math.POSITIVE_INFINITY;
 Math.ffloor(Math.NEGATIVE_INFINITY) == Math.NEGATIVE_INFINITY;
-Math.isNaN(Math.floor(Math.NaN)) == true;
+Math.isNaN(Math.ffloor(Math.NaN)) == true;
 
 // ceil
 Math.ceil(0.0) == 0;