tan(3f) - [FORTRAN:INTRINSIC:MATHEMATICS:TRIGONOMETRIC] Tangent function
result = tan(x)
tan(x) computes the tangent of X.
X The type shall be REAL or COMPLEX.
The return value has the same type and kind as X.
Sample program:
program demo_tan use, intrinsic :: iso_fortran_env, only : real_kinds, & & real32, real64, real128 implicit none real(kind=real64) :: x = 0.165_real64 x = tan(x) end program demo_tan
[[FORTRAN 77]] and later. For a complex argument, [[Fortran 2008]] or later.
[[Elemental function]]
atan(3), cos(3), sin(3)
tan (3) | March 11, 2021 |