acos function

This 2019.0 documentation has been archived and is no longer updated. Content and links may be outdated. See the latest documentation.

Syntax

  • float acos(float x)

Returns

The arc cosine of x in degrees. This value is in the range [0, 180]. If x is outside [-1,1], nan is generated.

Description

The acos function calculates the arc cosine of x, i.e. the value whose cosine is x.

Related


In this topic