Calculate 2**p for all p in the input array.
x : array_like
Input values.
out : ndarray
Element-wise 2 to the power x.