The expression tan(ilog(a−iba+ib)) reduces to:
Let a+bi=reiθ. Then tanθ=ba tan(iloga−iba+ib=tan(ilog e−2iθ) =tan(−2i2θ)=2tanθ1−tanθ=2ba1−(b2a2)=2aba2−b2