浏览代码

apparently this fixed itself (closes #2442)

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

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

@@ -139,7 +139,7 @@ Math.log(Math.POSITIVE_INFINITY) == Math.POSITIVE_INFINITY;
 // exp + log
 var floats = [1.33, 12.0, -112.999992, 0.0, Math.NEGATIVE_INFINITY, Math.POSITIVE_INFINITY];
 for (f in floats) {
-	//Math.log(Math.exp(f)) == f;
+	Math.log(Math.exp(f)) == f;
 }
 
 // sqrt