While IANAmathmo, surely the only answer here can be "undefined". As far as I can remember, 0^x=0, and x^0=1, so both answers make some sort of sense. Or is there anything here that I have missed that is known only to students of arcane high-level maths?
no subject