Clicky
Showing changes from revision #2 to #3:
(追記) Added (追記ここまで) | (削除) Removed (削除ここまで) | (削除) Chan (削除ここまで)(追記) ged (追記ここまで)
tan(x)
computes the tangent of x
.
FORTRAN 77 and(削除) later (削除ここまで)(追記) later. (追記ここまで)(追記) For (追記ここまで)(追記) a (追記ここまで)(追記) complex (追記ここまで)(追記) argument, (追記ここまで)(追記) Fortran 2008 (追記ここまで)(追記) or later. (追記ここまで)
(削除) Elemental function (削除ここまで)(追記) Elemental function (追記ここまで)
result = tan(x)
x
- The type shall be real
(追記) or (追記ここまで)(追記) complex
(追記ここまで). The return value(削除) is (削除ここまで)(追記) has (追記ここまで)(削除) of (削除ここまで)(追記) same (追記ここまで) type(追記) and (追記ここまで)(追記) kind (追記ここまで)(追記) as (追記ここまで)(追記) X. (追記ここまで)(削除) real
(削除ここまで)(削除) . The kind type parameter is the same as (削除ここまで)(削除) x
(削除ここまで)(削除) . (削除ここまで)
program test_tan
real(8) :: x = 0.165_8
x = tan(x)
end program test_tan
atan (追記) , (追記ここまで)(追記) cos (追記ここまで)(追記) , (追記ここまで)(追記) sin (追記ここまで)