tanh(x) computes the hyperbolic tangent of x.
FORTRAN 77 and later
Elemental function
x = tanh(x)
x - The type shall be real.The return value is of type real and lies in the range .
program test_tanh
real(8) :: x = 2.1_8
x = tanh(x)
end program test_tanh