[Numpy-discussion] unexpected downcast

Alan G Isaac aisaac at american.edu
Wed Feb 13 16:09:50 EST 2008


On Tue, 12 Feb 2008, dmitrey apparently wrote:
> from numpy import * 
> a = array((1.0, 2.0), float128)
> b=asfarray(a)
> type(a[0])
> #<type 'numpy.float128'> 
> type(b[0])
> #<type 'numpy.float64'> 
>  __version__
> '1.0.5.dev4767'


Dmitrey noted an unexpected down cast (above).
Is there a reason for it?
Or should there be a ticket?

Thank you,
Alan Isaac







More information about the NumPy-Discussion mailing list