On 5/24/2016 10:03 AM, Marten van Kerkwijk wrote:
The error on int ** (-int) is OK with me too (even though I prefer just returning floats).
What exactly is the argument against *always* returning float (even for positive integer exponents)? Relevant context is: - int ** int will often ("usually") overflow - a numpy function cd meet specialized exponentiation needs Thanks, Alan Isaac _______________________________________________ NumPy-Discussion mailing list NumPy-Discussion@scipy.org https://mail.scipy.org/mailman/listinfo/numpy-discussion