[NumPy-Tickets] [NumPy] #301: Make power and divide return floats from int inputs (like true_divide)
NumPy Trac
numpy-tickets@scipy....
Thu Mar 31 12:13:41 CDT 2011
#301: Make power and divide return floats from int inputs (like true_divide)
-------------------------+--------------------------------------------------
Reporter: stefan | Owner: somebody
Type: enhancement | Status: needs_decision
Priority: normal | Milestone: Unscheduled
Component: numpy.core | Version:
Keywords: |
-------------------------+--------------------------------------------------
Comment(by mwiebe):
Ralf's proposal looks fine to me. Since power is a function which grows
quickly, it will also easily overflow in a fixed-size integer
implementation, something Python with variable-sized ints doesn't have to
worry about.
--
Ticket URL: <http://projects.scipy.org/numpy/ticket/301#comment:11>
NumPy <http://projects.scipy.org/numpy>
My example project
More information about the NumPy-Tickets
mailing list