exp2()

The base-2 exponential function of x, which is 2 raised to the power x: 2^x.

Syntax

exp2(x)

Learn more about syntax conventions.

Parameters

Name Type Required Description
x real ✔️ The value of the exponent.

Returns

The exponential value of x.

  • For natural (base-2) logarithms, see log2().
  • For exponential functions of base-e and base-10 logarithms, see exp(), exp10().