[Numpy-discussion] asfarray() drops precision (float128->float64) - is it correct?

dmitrey dmitrey.kroshko@scipy....
Tue Feb 12 04:36:03 CST 2008

As for me, it yields lots of inconveniences (lots of my code should be 
rewritten, since I didn't know it before):

from numpy import *
a = array((1.0, 2.0), float128)
#<type 'numpy.float128'>
#<type 'numpy.float64'>

Shouldn't it be changed? (I.e. let's left 128).
As for me I use asfarray() very often since I don't know does user 
provide arrays as numpy ndarray or matrix or Python list/tuple.

More information about the Numpy-discussion mailing list