1/0 should be Infinity, not error.
0/0 should be error.
-1/0 should be -Infinity.
1/0 is not undefined... it's infinity. They teach you about 1/0=undefined only in schools. Calculators give you error because Infinity is too large to represent.
This may interest you: https://www.google.com/search?q=calculator
It's simple double-float calculator, no imaginary numbers. If you type 1/0, you get Infinity. 0^0 is 1 here, but it's because of simple methods of calculation to give this result. 0/0 is Error. sqrt(-1) is Error. Type them in calculator, not in search bar.