Explorar o código

Minor NaN doc fix (#10495)

RblSb %!s(int64=3) %!d(string=hai) anos
pai
achega
ee9ef9dc98
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  1. 2 2
      std/Math.hx

+ 2 - 2
std/Math.hx

@@ -276,10 +276,10 @@ extern class Math {
 	static function isFinite(f:Float):Bool;
 
 	/**
-		Tells if `f` is not a valid number.
+		Tells if `f` is `Math.NaN`.
 
 		If `f` is `NaN`, the result is `true`, otherwise the result is `false`.
-		In particular, both `POSITIVE_INFINITY` and `NEGATIVE_INFINITY` are
+		In particular, `null`, `POSITIVE_INFINITY` and `NEGATIVE_INFINITY` are
 		not considered `NaN`.
 	**/
 	static function isNaN(f:Float):Bool;