ACOS

Elemental Intrinsic Function (Generic): Produces the arccosine of x.

Syntax

result = ACOS (x)

x

(Input) Must be of type real. The | x | must be less than or equal to 1.

Results

The result type is the same as x and is expressed in radians. The value lies in the range 0 to pi.

Specific Name

Argument Type

Result Type

ACOS

REAL(4)

REAL(4)

DACOS

REAL(8)

REAL(8)

QACOS1

REAL(16)

REAL(16)

1Or QARCOS.

Example

ACOS (0.68032123) has the value .8225955.