FORTRAN Reference Manual
Intrinsic Functions
FORTRAN Reference Manual—528615-001
8-28
SIN Function
Example of the SIGN Function
z = SIGN (a, b)
SIN Function
The SIN function returns the sine of an angle expressed in radians.
The table below shows the argument and function type for the SIN generic function
and its associated specific functions.
Considerations
•
The result type of the SIN function is the same as the type of its argument.
•
For a real or double precision argument, the function value is always in the range
-1.0 ≤ SIN ( x) ≤ 1.0
•
For a complex argument z = CMPLX (X,Y), the value of SIN(Z) is defined as
CMPLX (SIN (x) * COSH (y), COS (x) * SINH (y))
Example of the SIN Function
x = SIN (y)
SINH Function
The SINH function returns a hyperbolic sine.
The table below shows the argument and function type for the SINH generic function
and its associated specific function.
Syntax Argument Type Function Type
SIN (x)
SIN (x)Real Real
DSIN (x) Double Precision Double Precision
CSIN (x) Complex Complex
x is an arithmetic expression.
Syntax Argument Type Function Type
SINH (x)
SINH (x) Real Real
DSINH (x) Double Precision Double Precision
x is an arithmetic expression.










