Big Float.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#
A number indicating the sign of the number.
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
public int Sign { get; }
Property Value
Int32A number indicating the sign of the number.
Number | Description |
---|---|
-1 | The number is less than zero. |
0 | The number is equal to zero. |
1 | The number is greater than zero. |
Exceptions
Arithmetic | The number is equal to NaN. |