I have a fairly straightforward question about defining exponentiation in rings: Given any element $a \in R$ of any ring $R$, what is $a^0$ defined as? Is it the additive identity or the multiplicative identity (if it exists)?
In the context of groups we define $a^0 = e$ for whatever the identity of that one operation is. But in the context of rings, $a^n$ would refer to the ring product, so I would assume $a^0$ to be the multiplicative identity, but this doesn't always exist.
Is there any convention, or is it simply left undefined/context dependent?
Edit: In regards to being a duplicate of the $0^0$ question, I had already read through both the question and some answers, but I thought this was a 'fairly separate' question. In particular, this is about rings in general, and while there is a relationship, most of the discussion in the other question pertains explicitly to $\mathbb{R}$. For example discussion of non-integer powers, and limits as a motivating value for the definition, and the fact $\mathbb{R}$ has unity.