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

alex argriffi at ncsu.edu
Mon Feb 17 20:59:42 EST 2014


On Mon, Feb 17, 2014 at 8:13 PM, Charles R Harris
<charlesr.harris at gmail.com> wrote:
> This is apropos issue #899, 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?

After this change, what would be the recommended way to get entrywise
positive integer powers of an array with integer entries?



More information about the NumPy-Discussion mailing list