Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

In the code, I see that that power_mod makes a special case for 0^0. Maybe it shouldn't? Mathematica leaves it as a more correct Indeterminate

Mathematica 7.0 for Mac OS X x86 (64-bit)
Copyright 1988-2008 Wolfram Research, Inc.

In[1]:= 0^0

Power::indet: Indeterminate expression 0  encountered.

Out[1]= Indeterminate