Next: SINH, Previous: SIGNAL, Up: Intrinsic Procedures [Contents][Index]
SIN — Sine functionSIN(X) computes the sine of X.
Fortran 77 and later
Elemental function
RESULT = SIN(X)
| X | The type shall be REALorCOMPLEX. | 
The return value has same type and kind as X.
program test_sin real :: x = 0.0 x = sin(x) end program test_sin
| Name | Argument | Return type | Standard | 
| SIN(X) | REAL(4) X | REAL(4) | f77, gnu | 
| 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 |