I checked pointer size in my python terminal (in Enthought Canopy IDE) via
import ctypes print (ctypes.sizeof(ctypes.c_voidp) * 8)
I have 64 bit architecture and work with numpy.float64 . But I can not use np.float128 ?
np.array([1,1,1],dtype=np.float128)
or
np.float128(1)
leads to:
AttributeError: 'module' object has no attribute 'float128'
I am running the following version:
sys.version_info(major=2, minor=7, micro=6, releaselevel='final', serial=0)
python numpy 128bit
Matthias Apr 23 '15 at 10:32 2015-04-23 10:32
source share