Hello, the following operation seems strange to me
>>> np.left_shift(2,-1) 0 I would have expected a right_shift by one. The documentation on http://docs.scipy.org/doc/numpy/reference/generated/numpy.left_shift.html#numpy.left_shift also says that the operation is equivalent to multiplying x1 by 2**x2. That's not the case! Markus
_______________________________________________ NumPy-Discussion mailing list NumPy-Discussion@scipy.org http://mail.scipy.org/mailman/listinfo/numpy-discussion