TANH
— Hyperbolic tangent functionTANH(X)
computes the hyperbolic tangent of X.
X = TANH(X)
X | The type shall be REAL or COMPLEX .
|
REAL
, the return value lies in the range
- 1 \leq tanh(x) \leq 1 .
program test_tanh real(8) :: x = 2.1_8 x = tanh(x) end program test_tanh
Name | Argument | Return type | Standard
|
TANH(X) | REAL(4) X | REAL(4) | Fortran 95 and later
|
DTANH(X) | REAL(8) X | REAL(8) | Fortran 95 and later
|