tan(x)
computes the tangent of x
.
FORTRAN 77 and later. For a complex argument, Fortran 2008 or later.
result = tan(x)
x
- The type shall be real
or complex
.The return value has same type and kind as X.
program test_tan
real(8) :: x = 0.165_8
x = tan(x)
end program test_tan