With Python 3.3.2 (64 bit), and numpy master:The error does not occur with integers that fit in 64 bits:
>>> import numpy as np
>>> np.__version__
'1.8.0.dev-2a5c2c8'
>>> f = np.float64(1.0)
>>> i = 2**65
>>> f*i
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
TypeError: unsupported operand type(s) for *: 'numpy.float64' and 'int'
Is this the expected behavior?
>>> f*10
10.0It also does not occur in numpy 1.7.1.
Warren