[Numpy-discussion] Integers to integer powers

Alan Isaac alan.isaac at gmail.com
Fri May 20 17:33:20 EDT 2016


Yes, I was referring to `pow`,
but I had in mind the C++ version,
which is overloaded:
http://www.cplusplus.com/reference/cmath/pow/

Cheers,
Alan


On 5/20/2016 4:27 PM, Warren Weckesser wrote:
> C doesn't have an exponentiation operator.  The C math library has pow, powf and powl, which (like any C functions) are explicitly typed.




More information about the NumPy-Discussion mailing list