real class : IsNegativeInfinity() method

Description

Gets a value that indicates whether this instance value evaluates to negative-infinity.

Syntax

realInstance.IsNegativeInfinity()

Arguments

None

Return value

ClassDescription
boolA value that indicates whether this instance value evaluates to negative-infinity.

Sample code

//anyReal is a instance of real type.

bool infinity = anyReal.IsNegativeInfinity();

Notes

It's a wrapper of the System.Double.IsNegativeInfinity(Double).

Returns true if instance value evaluates to negative-infinity; otherwise, returns false.

Links for reference

Copyright © Rice All rights reserved.