Math387::Sgn Function

Overload List

#SignatureDescription
1int Sgn(const TCplx &Z);Signum.
2int Sgn(const TSCplx &Z);
3int Sgn(double X);Signum.
4int Sgn(int X);

Overload 1: int Sgn(const TCplx &Z);

Signum.

#NameTypeDescription
1Zconst 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);

#NameTypeDescription
1Zconst TSCplx &
Declared in Dew::Math::Units::Math387 · Dew.Math/Units.Math387.h · Cross-compiler

Overload 3: int Sgn(double X);

Signum.

#NameTypeDescription
1Xdouble

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);

#NameTypeDescription
1Xint
Declared in Dew::Math::Units::Math387 · Dew.Math/Units.Math387.h · Cross-compiler