SIN — Sine function#
-
SIN(X)#
SIN(X)computes the sine ofX.- Parameters:
X – The type shall be
REALorCOMPLEX.- Returns:
The return value has same type and kind as
X.
- Standard:
Fortran 77 and later
- Class:
Elemental function
- Syntax:
RESULT = SIN(X)
- Example:
program test_sin real :: x = 0.0 x = sin(x) end program test_sin
- Specific names:
Name
Argument
Return type
Standard
SIN(X)REAL(4) XREAL(4)Fortran 77 and later
DSIN(X)REAL(8) XREAL(8)Fortran 77 and later
CSIN(X)COMPLEX(4) XCOMPLEX(4)Fortran 77 and later
ZSIN(X)COMPLEX(8) XCOMPLEX(8)GNU extension
CDSIN(X)COMPLEX(8) XCOMPLEX(8)GNU extension
- See also: