Intel® Fortran Compiler 17.0 Developer Guide and Reference

ACOS

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

result = ACOS (x)

x

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

Results

The result type and kind 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 1

REAL(4)

REAL(4)

DACOS 1

REAL(8)

REAL(8)

QACOS2

REAL(16)

REAL(16)

1The setting of compiler options specifying real size can affect ACOS and DACOS.

2Or QARCOS.

Example

ACOS (0.68032123) has the value .8225955.