Clicky
Showing changes from revision #3 to #4:
(追記) Added (追記ここまで) | (削除) Removed (削除ここまで) | (削除) Chan (削除ここまで)(追記) ged (追記ここまで)
cos(x)
computes the cosine of x
.
FORTRAN 77 and later
result = cos(x)
x
- The type shall be real
or complex
.The return value is of the same type and kind as x
. The real part of the result is in radians. If x
is of the type real
, the return value lies in the range(削除) -1 (削除ここまで)(削除) \leq (削除ここまで)(削除) \cos (削除ここまで)(削除) (x) (削除ここまで)(削除) \leq (削除ここまで)(削除) 1. (削除ここまで)(追記) (追記ここまで)(追記) . (追記ここまで)
program test_cos
real :: x = 0.0
x = cos(x)
end program test_cos