diff options
author | Charles Harris <charlesr.harris@gmail.com> | 2015-01-28 19:35:07 -0700 |
---|---|---|
committer | Charles Harris <charlesr.harris@gmail.com> | 2015-02-13 09:55:41 -0700 |
commit | 44d0c52ccd3de10874154bbe1ceab6ddade0afca (patch) | |
tree | 422785f7fc21dc013e17b1afec1fac924cc9f684 /numpy/polynomial/polyutils.py | |
parent | 34b5f9f631fe268559c4a896fdf19e91aedd4a35 (diff) | |
download | numpy-44d0c52ccd3de10874154bbe1ceab6ddade0afca.tar.gz |
BUG: Do not use system cpow directly.
Numpy computes small integer powers by multiplication, this leads to
different results than the system cpow for such integers. In particular,
cpow((0 + inf*1j), 2) returns (-inf + 0j) rather than (-inf + nanj). The
system version probably makes more sense, but better to keep
compatibility at this point. We could fix our results using cproj.
Diffstat (limited to 'numpy/polynomial/polyutils.py')
0 files changed, 0 insertions, 0 deletions