[NumPy-Tickets] [NumPy] #1867: numpy.absolute() can return a negative value

NumPy Trac numpy-tickets@scipy....
Tue Jun 14 17:25:28 CDT 2011


#1867: numpy.absolute() can return a negative value
--------------------------------+-------------------------------------------
 Reporter:  phil.hodge          |       Owner:  somebody   
     Type:  defect              |      Status:  new        
 Priority:  normal              |   Milestone:  Unscheduled
Component:  numpy.core          |     Version:  devel      
 Keywords:  negative, absolute  |  
--------------------------------+-------------------------------------------
Changes (by pv):

 * cc: mwiebe (added)
  * version:  1.6.0 => devel
  * component:  Other => numpy.core


Comment:

 Ditto for 64-bit Linux:
 {{{
 >>> np.__version__
 '2.0.0.dev-a1e7be3'
 >>> x = np.array([-1., 0., 1.], dtype='>f8');  print np.absolute(x)
 [ -1.00000000e+00   0.00000000e+00   1.00000000e+00]
 }}}
 1.6.x series is OK, however.

 Bisection search points to commit:33babc930456

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


More information about the NumPy-Tickets mailing list