Overload List
| # | Signature | Description |
|---|---|---|
| 1 | int Sgn(const TCplx &Z); | Signum. |
| 2 | int Sgn(const TSCplx &Z); | |
| 3 | int Sgn(double X); | Signum. |
| 4 | int Sgn(int X); |
Overload 1: int Sgn(const TCplx &Z);
Signum.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Z | const TCplx & |
Returns: the signum of X. Signum(X) is 1 for X > 0, equal to zero for X = 0 and -1 for X < 0.
Declared in Dew::Math::Units::Math387 · Dew.Math/Units.Math387.h · Cross-compiler
Overload 2: int Sgn(const TSCplx &Z);
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Z | const TSCplx & |
Declared in Dew::Math::Units::Math387 · Dew.Math/Units.Math387.h · Cross-compiler
Overload 3: int Sgn(double X);
Signum.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | X | double |
Returns: the signum of X. Signum(X) is 1 for X > 0 , equal to zero for X = 0 and -1 for X < 0.
Declared in Dew::Math::Units::Math387 · Dew.Math/Units.Math387.h · Cross-compiler
Overload 4: int Sgn(int X);
| # | Name | Type | Description |
|---|---|---|---|
| 1 | X | int |
Declared in Dew::Math::Units::Math387 · Dew.Math/Units.Math387.h · Cross-compiler