9.248 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:
X The 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:
Name Argument Return type Standard
SIND(X) REAL(4) X REAL(4) GNU Extension
DSIND(X) REAL(8) X REAL(8) GNU Extension
CSIND(X) COMPLEX(4) X COMPLEX(4) GNU Extension
ZSIND(X) COMPLEX(8) X COMPLEX(8) GNU Extension
CDSIND(X) COMPLEX(8) X COMPLEX(8) GNU Extension
See also:

Inverse function: ASIND Radians function: SIN

© Free Software Foundation
Licensed under the GNU Free Documentation License, Version 1.3.
https://gcc.gnu.org/onlinedocs/gcc-7.2.0/gfortran/SIND.html