Files
unix-v6/source/fort/rt1/tanh.f
T
2018-01-27 22:35:41 +09:00

8 lines
75 B
FortranFixed

function tanh(a)
b = exp(a)
c = 1.0/b
tanh = (b-c)/(b+c)
return
end