log(z+sqrt(z^2-1))=pi/2-i*log(z-sqrt(z^2-1))