ACOSD — Arccosine function, degrees¶
- ACOSD(X)¶
ACOSD(X)computes the arccosine ofXin degrees (inverse ofCOSD(X)).- Parameters
X – The type shall either be
REALwith a magnitude that is less than or equal to one - or the type shall beCOMPLEX.- Returns
The return value is of the same type and kind as
X. The real part of the result is in degrees and lies in the range 0 leq Re acos(x) leq 180.
Standard:GNU extension, enabled with
-fdec-mathClass:Elemental function
Syntax:RESULT = ACOSD(X)
Example:program test_acosd real(8) :: x = 0.866_8 x = acosd(x) end program test_acosd
Specific names:Name
Argument
Return type
Standard
ACOSD(X)REAL(4) XREAL(4)GNU extension
DACOSD(X)REAL(8) XREAL(8)GNU extension
See also:Inverse function: COSD Radians function: ACOS