[Numpy-discussion] Proposal to make power return float, and other such things.

Sturla Molden sturla.molden at gmail.com
Tue Feb 18 04:51:16 EST 2014


Charles R Harris <charlesr.harris at gmail.com> wrote:
> This is apropos issue #899 <<a
> href="https://github.com/numpy/numpy/issues/899">https://github.com/numpy/numpy/issues/899</a>>,
> where it is suggested that power promote integers to float. That sounds
> reasonable to me, but such a change in behavior makes it a bit iffy.
> 
> Thoughts?

Numpy should do the same as Python does.

Sturla




More information about the NumPy-Discussion mailing list