Browse Source

apparently this fixed itself (closes #2442)

Simon Krajewski 11 năm trước cách đây
mục cha
commit
e902df2db0
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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