Next: , Previous: , Up: Intrinsic Procedures   [Contents][Index]


9.251 SIND — Sine function, degrees

Description:

SIND(X) computes the sine of X in degrees.

This function is for compatibility only and should be avoided in favor of standard constructs wherever possible.

Standard:

GNU extension, enabled with -fdec-math.

Class:

Elemental function

Syntax:

RESULT = SIND(X)

Arguments:
XThe type shall be REAL or COMPLEX.
Return value:

The return value has same type and kind as X, and its value is in degrees.

Example:
program test_sind
  real :: x = 0.0
  x = sind(x)
end program test_sind
Specific names:
NameArgumentReturn typeStandard
SIND(X)REAL(4) XREAL(4)GNU extension
DSIND(X)REAL(8) XREAL(8)GNU extension
CSIND(X)COMPLEX(4) XCOMPLEX(4)GNU extension
ZSIND(X)COMPLEX(8) XCOMPLEX(8)GNU extension
CDSIND(X)COMPLEX(8) XCOMPLEX(8)GNU extension
See also:

Inverse function: ASIND Radians function: SIN