# Power of 2 (G Dataflow)

Version:

Computes 2 raised to a specified power.

## x

An input to this operation.

This input supports scalar numbers, arrays or clusters of numbers, and arrays of clusters of numbers.

Data Type Changes on FPGA

When you add this node to a document targeted to an FPGA, this input has a default data type that uses fewer hardware resources at compile time.

## 2^x

Result of the operation.

This output assumes the same numeric representation as x. When x is of the form x = a + bi, that is, when x is complex, the following equation defines 2^x:
${2}^{x}={2}^{a}*{2}^{bi}={2}^{a}*\left(\mathrm{cos}\left(b*\mathrm{ln}\left(2\right)\right)+i\mathrm{sin}\left(b*\mathrm{ln}\left(2\right)\right)\right)$

Where This Node Can Run:

Desktop OS: Windows

FPGA: This product does not support FPGA devices