TDouble.Sign Method

Returns the value of the sign function.

Definition

Namespace: SMath.Math.Numeric
Assembly: SMath.Math.Numeric (in SMath.Math.Numeric.dll) Version: 1.73.9126.0
C#
public TDouble Sign()

Return Value

TDouble
Value of the sign function.
-1This TDouble value is negative.
0This TDouble value is zero.
1This TDouble value is positive.

See Also