[Numpy-tickets] [NumPy] #878: np.fix does not work properly for negative integers

NumPy numpy-tickets@scipy....
Mon Aug 25 17:08:53 CDT 2008


#878: np.fix does not work properly for negative integers
-----------------------+----------------------------------------------------
 Reporter:  badland    |        Owner:  cdavid
     Type:  defect     |       Status:  closed
 Priority:  high       |    Milestone:  1.2.0 
Component:  numpy.lib  |      Version:        
 Severity:  normal     |   Resolution:  fixed 
 Keywords:  np.fix     |  
-----------------------+----------------------------------------------------
Changes (by cdavid):

  * status:  new => closed
  * resolution:  => fixed

Comment:

 Fixed in r 5702: fix is now an alias for numpy.core.umath.trunc function,
 which does rounding to the nearest integer toward 0.

-- 
Ticket URL: <http://scipy.org/scipy/numpy/ticket/878#comment:3>
NumPy <http://projects.scipy.org/scipy/numpy>
The fundamental package needed for scientific computing with Python.


More information about the Numpy-tickets mailing list