0^0 is defined in Julia, and equals 1. Mathematically 0^0 is undefined.I think other programming languages leave it undefined, although Python sets 0^0 = 0 (which is insane in my opinion).
To me it makes sense to make 0^0 = 1 (it turns out to be useful in some code I am writing right now, preventing some
ifs and making things easier).
But I was wondering what other people think about this. Why was this approach selected in Julia?