[SciPy-dev] tanh(j*pi/2)

d_l_goldsmith@yaho... d_l_goldsmith@yaho...
Tue Jun 9 23:51:13 CDT 2009


>>> import numpy as N
>>> N.tanh(N.pi*1j/2)
16331778728383844j

Is this the desired behavior?  (I.e., why doesn't this return N.inf or N.nan?)

DG



      


More information about the Scipy-dev mailing list