Multiplies x by 2 raised to the power of n. If n is a floating-point number, this function rounds n prior to scaling x (0.5 rounds to 0; 0.51 rounds to 1). If x is an integer, this function is the equivalent of an arithmetic shift. The connector pane displays the default data types for this polymorphic function.
![]() |
n can be a scalar number, array or cluster of numbers, array of clusters of numbers, and so on. |
![]() |
x can be a scalar number, array or cluster of numbers, array of clusters of numbers, and so on. |
![]() |
x*2^n is the result of multiplying x by 2, raised to the power of n. |