Next: ACOSH, Previous: ACHAR, Up: Intrinsic Procedures
ACOS — Arccosine functionACOS(X) computes the arccosine of X (inverse of COS(X)).
RESULT = ACOS(X)
| X | The type shall be REAL with a magnitude that is
less than or equal to one.
|
REAL and it lies in the
range 0 \leq \acos(x) \leq \pi. The return value if of the same
kind as X.
program test_acos
real(8) :: x = 0.866_8
x = acos(x)
end program test_acos
| Name | Argument | Return type | Standard
|
DACOS(X) | REAL(8) X | REAL(8) | Fortran 77 and later
|