Please enable JavaScript to view this site.

ESL Documentation

MATHLIB Function

Return the angle of a specified cosine.

ARCCOS(X_FV)

X_FV

A floating point cosine value in the range -1.0 through 1.0, inclusive, whose degree value you want returned.

Description

Use this function to return the angle in degrees whose cosine is X. The angle will be returned as a float value. If an error occurs, the function returns the value -1.0 and places a message in the ESL errorlog.

Errors

ARCCOS: argument < -1 or > 1; returning -1.0.

X is not within the allowable range.