On Tue, Feb 18, 2014 at 10:59 AM, Todd <toddr...@gmail.com> wrote: > > On Feb 18, 2014 11:55 AM, "Robert Kern" <robert.k...@gmail.com> wrote:
>> I am -1 on the proposal to make power(x:int, y:int) always return a >> float. It is usually trivial to just make the exponent a float if one >> wants a float returned. Or we could introduce an fpow() that always >> coerces the inputs to the best inexact type. > > What about making it floats for int types but int for uint types? Doesn't really do it for me. int_array**2 would now return a float for no good reason. -- Robert Kern _______________________________________________ NumPy-Discussion mailing list NumPy-Discussion@scipy.org http://mail.scipy.org/mailman/listinfo/numpy-discussion