Math387.Exp2 / Exp2f Method

Overload List

#SignatureDescription
1function Exp2(const X: TCplx): TCplx;2^x function.
2function Exp2(const X: TSCplx): TSCplx;
3function Exp2(const X: Double): Double;2^x function.
4function Exp2f(const X: Single): Single;

Overload 1: function Exp2(const X: TCplx): TCplx;

2^x function.

#NameTypeDescription
1XTCplx

Returns: TCplx (complex) - Returns the value of 2 raised to the power of X.

See Also: Math387.Power

Overload 2: function Exp2(const X: TSCplx): TSCplx;

#NameTypeDescription
1XTSCplx

Returns: TSCplx

Overload 3: function Exp2(const X: Double): Double;

2^x function.

#NameTypeDescription
1XDouble

Returns: Double - 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.

Overload 4: function Exp2f(const X: Single): Single;

#NameTypeDescription
1XSingle

Returns: Single