[NumPy-Tickets] [NumPy] #919: Incorrect printing some complex complex arrays containing nans.

NumPy Trac numpy-tickets@scipy....
Wed Mar 30 23:44:01 CDT 2011


#919: Incorrect printing some complex complex arrays containing nans.
---------------------+------------------------------------------------------
 Reporter:  charris  |       Owner:  cdavid     
     Type:  defect   |      Status:  accepted   
 Priority:  high     |   Milestone:  Unscheduled
Component:  Other    |     Version:  devel      
 Keywords:           |  
---------------------+------------------------------------------------------

Comment(by charris):

 Here's how Pyhon does it


 {{{
 >>> nan = float('nan')
 >>> complex(0,nan)
 nanj
 >>> complex(1,nan)
 (1+nanj)
 >>> inf = float('inf')
 >>> complex(1,inf)
 (1+infj)

 }}}

-- 
Ticket URL: <http://projects.scipy.org/numpy/ticket/919#comment:10>
NumPy <http://projects.scipy.org/numpy>
My example project


More information about the NumPy-Tickets mailing list