Math387::Exp2 Function

Overload List

#SignatureDescription
1double Exp2(const double X);2^x function.
2TCplx Exp2(const TCplx &X);2^x function.
3TSCplx Exp2(const TSCplx &X);

Overload 1: double Exp2(const double X);

2^x function.

#NameTypeDescription
1Xconst double

Returns: Returns the value of 2 raised to the power of X.

Remarks:

This function is twice as fast as the equivalent call to the Math387::Power function.

Declared in Dew::Math::Units::Math387 · Dew.Math/Units.Math387.h · Cross-compiler

Overload 2: TCplx Exp2(const TCplx &X);

2^x function.

#NameTypeDescription
1Xconst TCplx &

Returns: Returns the value of 2 raised to the power of X.

See Also: Math387::Power
Declared in Dew::Math::Units::Math387 · Dew.Math/Units.Math387.h · Cross-compiler

Overload 3: TSCplx Exp2(const TSCplx &X);

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