The exponential function behaves a little strange sometimes. This happens in Maple 9. It thinks that 0^0 is 1. I'm actually in agreement with that, although I've seen many a mathemtician argue that it should really be undefined. De gustibus non est disputandum. But it's strange that it think that 0^(1+I) is 0 but 0^I gives a divide-by-zero error, without mentioning that the division by zero occurs somewhere in a call to ln(x). It's something stupid, but a potential source of mystifying bugs in user code. Some CASes, such as Maxima, are smart enough to have a specific error for 0^z for complex z. Still others return NaN. What's going on here?

Please Wait...