ATAND — Arctangent function, degrees#
-
ATAND(X)#
ATAND(X)computes the arctangent ofXin degrees (inverse of TAND).- Parameters
X – The type shall be
REALorCOMPLEX; ifYis present,Xshall be REAL.Y – The type and kind type parameter shall be the same as
X.
- Returns
The return value is of the same type and kind as
X. IfYis present, the result is identical toATAND2(Y,X). Otherwise, it is the arcus tangent ofX, where the real part of the result is in degrees and lies in the range -90 leq Re atand(x) leq 90.
- Standard:
GNU extension, enabled with
-fdec-math.- Class:
Elemental function
- Syntax:
RESULT = ATAND(X) RESULT = ATAND(Y, X)
- Example:
program test_atand real(8) :: x = 2.866_8 x = atand(x) end program test_atand
- Specific names:
Name
Argument
Return type
Standard
ATAND(X)REAL(4) XREAL(4)GNU extension
DATAND(X)REAL(8) XREAL(8)GNU extension
- See also: