Explorar o código

specification fix

Simon Krajewski %!s(int64=12) %!d(string=hai) anos
pai
achega
f762bf2c5b
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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;