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 one.
|
REAL(*) and it lies in the
range 0 \leq \acos(x) \leq \pi. The kind type parameter
is the same 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) | F77 and later
|