Next: COSH, Previous: CONJG, Up: Intrinsic Procedures
COS — Cosine functionCOS(X) computes the cosine of X.
     X = COS(X)
     | X | The type shall be REAL(*)orCOMPLEX(*). | 
          program test_cos
            real :: x = 0.0
            x = cos(x)
          end program test_cos
     
     | Name | Argument | Return type | Option | 
| DCOS(X) | REAL(8) X | REAL(8) | f95, gnu | 
| CCOS(X) | COMPLEX(4) X | COMPLEX(4) | f95, gnu | 
| ZCOS(X) | COMPLEX(8) X | COMPLEX(8) | f95, gnu | 
| CDCOS(X) | COMPLEX(8) X | COMPLEX(8) | f95, gnu |