- changed status to resolved
2*np.float32 gives float64
Issue #27
resolved
Numpy:
>>> import numpy as np
>>> a = np.array([1,2,3], dtype=np.float32)
>>> (2*a).dtype
dtype('float32')
>>>
Numpypy: (450881e, with Pypy 2.6.0-2 from Debian)
>>>> import numpy as np
>>>> a = np.array([1,2,3], dtype=np.float32)
>>>> (2*a).dtype
dtype('float64')
>>>>
Comments (1)
-
- Log in to comment
This has already been fixed in PyPy nightlies.