Visible to Intel only — GUID: GUID-E62782C1-9FD2-442C-9C70-1B69968BBBEF
Visible to Intel only — GUID: GUID-E62782C1-9FD2-442C-9C70-1B69968BBBEF
SIN
Elemental Intrinsic Function (Generic): Produces the sine of an argument.
result = SIN (x)
x |
(Input) Must be of type real or complex. It must be in radians and is treated as modulo 2*pi. |
Results
The result type and kind are the same as x.
If x is of type real, the result is a value in radians.
If x is of type complex, the real part of the result is a value in radians.
Specific Name |
Argument Type |
Result Type |
---|---|---|
SIN |
REAL(4) |
REAL(4) |
DSIN |
REAL(8) |
REAL(8) |
QSIN |
REAL(16) |
REAL(16) |
CSIN 1 |
COMPLEX(4) |
COMPLEX(4) |
CDSIN 2 |
COMPLEX(8) |
COMPLEX(8) |
CQSIN |
COMPLEX(16) |
COMPLEX(16) |
1The setting of compiler options specifying real size can affect CSIN. 2This function can also be specified as ZSIN. |
Example
SIN (2.0) has the value 0.9092974.
SIN (0.8) has the value 0.7173561.