Why is log(inf + inf j) equal to (inf + 0.785398 j), In C++/Python/NumPy?
Why is log(inf + inf j) equal to (inf + 0.785398 j), In C++/Python/NumPy? Question: I’ve been finding a strange behaviour of log functions in C++ and numpy about the behaviour of log function handling complex infinite numbers. Specifically, log(inf + inf * 1j) equals (inf + 0.785398j) when I expect it to be (inf …