Next: , Previous: SIGNAL, Up: Intrinsic Procedures


8.67 SIN — Sine function

Description:
SIN(X) computes the sine of X.
Option:
f95, gnu
Class:
elemental function
Syntax:
X = SIN(X)
Arguments:

X The type shall be REAL(*) or COMPLEX(*).

Return value:
The return value has same type and king than X.
Example:
          program test_sin
            real :: x = 0.0
            x = sin(x)
          end program test_sin
     

Specific names:

Name Argument Return type Option
DSIN(X) REAL(8) X REAL(8) f95, gnu
CSIN(X) COMPLEX(4) X COMPLEX(4) f95, gnu
ZSIN(X) COMPLEX(8) X COMPLEX(8) f95, gnu
CDSIN(X) COMPLEX(8) X COMPLEX(8) f95, gnu