BigFloat.Sign Property

Gets the sign of the BigFloat value.

Definition

Namespace: Extreme.Mathematics
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
C#
public int Sign { get; }

Property Value

Int32
A number indicating the sign of the number.
NumberDescription
-1The number is less than zero.
0The number is equal to zero.
1The number is greater than zero.

Exceptions

ArithmeticExceptionThe number is equal to NaN.

See Also