Returns a Boolean that indicates whether the specified object represents negative or positive infinity.
[Visual Basic] Public Shared Function IsInfinity( _ ByVal f As Single _ ) As Boolean [C#] public static bool IsInfinity( float f ); [C++] public: static bool IsInfinity( float f ); [JScript] public static function IsInfinity( f : float ) : Boolean;
true if this instance represents negative or positive infinity; otherwise, false.
The IsInfinity method is equivalent to IsNegativeInfinity or IsPositiveInfinity.
Single Structure | Single Members | System Namespace | System.Globalization,.CultureInfo | System.Globalization,.NumberFormatInfo | PositiveInfinity | NegativeInfinity | NaN