[NumPy-Tickets] [NumPy] #1617: Casting numpy.complex64 to (Python) complex chops off imaginary part

NumPy Trac numpy-tickets@scipy....
Mon Sep 20 16:00:59 CDT 2010


#1617: Casting numpy.complex64 to (Python) complex chops off imaginary part
------------------------------+---------------------------------------------
 Reporter:  AndreasKloeckner  |       Owner:  somebody
     Type:  defect            |      Status:  new     
 Priority:  normal            |   Milestone:  2.0.0   
Component:  Other             |     Version:  1.4.1   
 Keywords:                    |  
------------------------------+---------------------------------------------
 Example session:

 {{{
 >>> import numpy
 >>> numpy.complex64(1+2j)
 (1+2j)
 >>> complex(numpy.complex64(1+2j))
 (1+0j)
 }}}

-- 
Ticket URL: <http://projects.scipy.org/numpy/ticket/1617>
NumPy <http://projects.scipy.org/numpy>
My example project


More information about the NumPy-Tickets mailing list