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:
-
X The type shall be REAL
orCOMPLEX
. - 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:
© Free Software Foundation
Licensed under the GNU Free Documentation License, Version 1.3.
https://gcc.gnu.org/onlinedocs/gcc-11.1.0/gfortran/SIND.html