ACOSD (The GNU Fortran Compiler) (original) (raw)
8.7 ACOSD
— Arccosine function, degrees ¶
Synopsis:
RESULT = ACOSD(X)
Description:
ACOSD(X)
computes the arccosine of X in degrees (inverse ofCOSD(X)
).
Class:
Elemental function
Arguments:
X | The type shall either be REAL with a magnitude that is less than or equal to one. |
---|
Return value:
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_.
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) X | REAL(4) | Fortran 2023 |
DACOSD(X) | REAL(8) X | REAL(8) | GNU extension |
Standard:
Fortran 2023
See also:
Inverse function:
COSD — Cosine function, degrees
Radians function:
ACOS — Arccosine function