Clicky
Showing changes from revision #3 to #4:
(追記) Added (追記ここまで) | (削除) Removed (削除ここまで) | (削除) Chan (削除ここまで)(追記) ged (追記ここまで)
tanh(x)
computes the hyperbolic tangent of x
.
FORTRAN 77 and later, for a complex argument Fortran 2008 or later
x = tanh(x)
x
- The type shall be real
or complex
.The return value has same type and kind as x
. If x
is complex, the imaginary part of the result is in radians. If x
is 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