Big Float.Sign Property
Gets the sign of the BigFloat value.
Definition
Namespace: Numerics.NET
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 10.9.0
C#
A number indicating the sign of the number.
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 10.9.0
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. |