cppreference.com > Standard C Math > acos
acos
Syntax:
  #include <math.h>
  double acos( double arg );

The acos() function returns the arc cosine of arg. arg should be between -1 and 1.