Overload List
Overload 1: function Sgn(const Z: TCplx): Integer;
Signum.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Z | TCplx |
Returns: Int32 - the signum of X. Signum(X) is 1 for X > 0, equal to zero for X = 0 and -1 for X < 0.
Overload 2: function Sgn(const Z: TSCplx): Integer;
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Z | TSCplx |
Returns: Int32
Overload 3: function Sgn(X: Double): Integer;
Signum.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | X | Double | scalar |
Returns: Int32 - the signum of X. Signum(X) is 1 for X > 0 , equal to zero for X = 0 and -1 for X < 0.
Overload 4: function Sgn(X: Integer): Integer;
| # | Name | Type | Description |
|---|---|---|---|
| 1 | X | Integer |
Returns: Int32
Overload 5: function Sgnf(X: Single): Integer;
| # | Name | Type | Description |
|---|---|---|---|
| 1 | X | Single | scalar |
Returns: Int32