Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
[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 negative or positive infinity
Namespace: System
Assembly: mscorlib (in mscorlib.dll)
Syntax
'Declaration
Public Shared Function IsInfinity ( _
d As Double _
) As Boolean
public static bool IsInfinity(
double d
)
public:
static bool IsInfinity(
double d
)
static member IsInfinity :
d:float -> bool
public static function IsInfinity(
d : double
) : boolean
Parameters
- d
Type: System. . :: . .Double
A double-precision floating-point number.
Return Value
Type: System. . :: . .Boolean
true if d evaluates to PositiveInfinity or NegativeInfinity; otherwise, false.
Remarks
Floating-point operations return PositiveInfinity or NegativeInfinity to signal an overflow condition.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see dd66cd4c-b087-415f-9c3e-94e3a1835f74.