sage: 1 == 0^0 == 0**0 == pow(0,0)
True
sage: power_mod(0,0,2)
Traceback (click to the left of this block for traceback)
...
ArithmeticError: 0^0 is undefined.
http://en.wikipedia.org/wiki/Exponentiation#IEEE_floating_point_standard
| 1 | initial version |
sage: 1 == 0^0 == 0**0 == pow(0,0)
True
sage: power_mod(0,0,2)
Traceback (click to the left of this block for traceback)
...
ArithmeticError: 0^0 is undefined.
| 2 | retagged |
sage: 1 == 0^0 == 0**0 == pow(0,0)
True
sage: power_mod(0,0,2)
Traceback (click to the left of this block for traceback)
...
ArithmeticError: 0^0 is undefined.
Copyright Sage, 2010. Some rights reserved under creative commons license. Content on this site is licensed under a Creative Commons Attribution Share Alike 3.0 license.