diff options
author | Sebastian Berg <sebastian@sipsolutions.net> | 2020-08-04 17:40:38 -0500 |
---|---|---|
committer | Sebastian Berg <sebastian@sipsolutions.net> | 2020-08-05 09:54:00 -0500 |
commit | 6d37ebee366adb85767db7e924905c5f11f69e6d (patch) | |
tree | 656f0b6ca174a105098659663b49f325c5333e8d /numpy/array_api/_elementwise_functions.py | |
parent | e3c52130add2ed5f7f0b9442b3b2742c09eb2de0 (diff) | |
download | numpy-6d37ebee366adb85767db7e924905c5f11f69e6d.tar.gz |
MAINT: Simplify scalar power
This consolidates the multiple copies of almost identical scalar power
code. It fixes the insignificant fact, that integers were doing some
floating point flag handling, even though our scalar power does not
use that.
The previous code special cased powers of 0, but the C-function seems
to handle it just fine.
Diffstat (limited to 'numpy/array_api/_elementwise_functions.py')
0 files changed, 0 insertions, 0 deletions