summaryrefslogtreecommitdiffstatshomepage
path: root/tests/float/int_divzero.py
diff options
context:
space:
mode:
authorDamien George <damien.p.george@gmail.com>2017-02-03 00:01:45 +1100
committerDamien George <damien.p.george@gmail.com>2017-02-03 00:01:45 +1100
commit3ed0e5e5d4af1ad2603fa1b87935cf65a27b083e (patch)
tree747cba8e65cbb6f29360ee79ecc52ead3995a5fd /tests/float/int_divzero.py
parent4b8ec5256d3d27b6cd69afeda62d645df4719ea9 (diff)
downloadmicropython-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