Share via


IsPositiveInfinity Method

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Returns a value indicating whether the specified number evaluates to positive infinity.

Namespace:  System
Assembly:  mscorlib (in mscorlib.dll)

Syntax

'Declaration
Public Shared Function IsPositiveInfinity ( _
    d As Double _
) As Boolean
public static bool IsPositiveInfinity(
    double d
)
public:
static bool IsPositiveInfinity(
    double d
)
static member IsPositiveInfinity : 
        d:float -> bool 
public static function IsPositiveInfinity(
    d : double
) : boolean

Parameters

Return Value

Type: System. . :: . .Boolean
true if d evaluates to PositiveInfinity; otherwise, false.

Remarks

Floating-point operations return PositiveInfinity to signal an overflow condition.

.NET Framework Security

See Also

Reference

Double Structure

System Namespace