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.