Re: [Numpy-discussion] Integers to negative integer powers, time for a decision.

Oct. 8, 2016
3:43 p.m.
Sorry, I was not clear enough. I meant that the second option (always float) would be more coherent with Python3. On Oct 8, 2016 9:36 PM, "Charles R Harris" <charlesr.harris@gmail.com> wrote: On Sat, Oct 8, 2016 at 1:31 PM, Krisztián Horváth <raksi.raksi@gmail.com> wrote:
Can't do that and also return integers for positive powers. It isn't possible to have behavior completely compatible with python for arrays: can't have mixed type returns, can't have arbitrary precision integers. Chuck _______________________________________________ NumPy-Discussion mailing list NumPy-Discussion@scipy.org https://mail.scipy.org/mailman/listinfo/numpy-discussion
3079
Age (days ago)
3079
Last active (days ago)
0 comments
1 participants
participants (1)
-
Krisztián Horváth