Table Of Contents

Power of 2 (G Dataflow)

Last Modified: January 23, 2017

Computes 2 raised to a specified power.

connector_pane_image
datatype_icon

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.

datatype_icon

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 b i = 2 a * ( cos ( b * ln ( 2 ) ) + i sin ( b * ln ( 2 ) ) )

Where This Node Can Run:

Desktop OS: Windows

FPGA: All devices (only within an Optimized FPGA VI)


Recently Viewed Topics