Jelajahi Sumber

apparently this fixed itself (closes #2442)

Simon Krajewski 11 tahun lalu
induk
melakukan
e902df2db0
1 mengubah file dengan 1 tambahan dan 1 penghapusan
  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