I am Parth Desai, CSE engineer , from Nirma university. This mail was
written to draw your attention to a very obvious bug in the math
library in python. There are 7 indefinite form in Calculus.
For eg. 0^inf , inf^inf, inf ^ 0 etc,
The answer according to conventional mathematics should be
"indefinite" or "Nan"(according to python). However, Python calculates
these indefinite forms and returns false answers which would
technically be very harmful for data analysts worldwide.
Attached with this mail are screenshots of a few of them.
This mistake was found with the help of my friend Chirag Patadiya, CSE
engineer, from Nirma university.
Please take this into consideration and respond accordingly.
P.S. infinity^(-infinity) should also be undefined.