BigFloat.Sign Property

Gets the sign of the BigFloat value.

Definition

Namespace: Numerics.NET
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.0
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

ArithmeticException

The number is equal to NaN.

See Also