diff options
author | Damien George <damien.p.george@gmail.com> | 2017-02-03 00:01:45 +1100 |
---|---|---|
committer | Damien George <damien.p.george@gmail.com> | 2017-02-03 00:01:45 +1100 |
commit | 3ed0e5e5d4af1ad2603fa1b87935cf65a27b083e (patch) | |
tree | 747cba8e65cbb6f29360ee79ecc52ead3995a5fd /tests/float/int_divzero.py | |
parent | 4b8ec5256d3d27b6cd69afeda62d645df4719ea9 (diff) | |
download | micropython-3ed0e5e5d4af1ad2603fa1b87935cf65a27b083e.tar.gz micropython-3ed0e5e5d4af1ad2603fa1b87935cf65a27b083e.zip |
py/objcomplex: Correctly handle case of 0j to power of something.
0j to the power of negative now raises ZeroDivisionError, and 0j to the
power of positive returns 0.
Diffstat (limited to 'tests/float/int_divzero.py')
0 files changed, 0 insertions, 0 deletions