Selaa lähdekoodia

specification fix

Simon Krajewski 12 vuotta sitten
vanhempi
commit
f762bf2c5b
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  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.floor( -1.0001) == -2;
 Math.ffloor(Math.POSITIVE_INFINITY) == Math.POSITIVE_INFINITY;
 Math.ffloor(Math.POSITIVE_INFINITY) == Math.POSITIVE_INFINITY;
 Math.ffloor(Math.NEGATIVE_INFINITY) == Math.NEGATIVE_INFINITY;
 Math.ffloor(Math.NEGATIVE_INFINITY) == Math.NEGATIVE_INFINITY;
-Math.isNaN(Math.floor(Math.NaN)) == true;
+Math.isNaN(Math.ffloor(Math.NaN)) == true;
 
 
 // ceil
 // ceil
 Math.ceil(0.0) == 0;
 Math.ceil(0.0) == 0;