Return x * (2**i). This function has been overriden from math.ldexp to work element-wise on iterables