CIGAL Reference Manual, Chapter 3 (Functions): acos
usage: result = acos(x)
The ACOS function returns the arccosine of its argument. The input value must be in the range -1 to 1, and the output will be in the range 0 to 180 (degrees); illegal input values result in an output value of -1. If the input X is a variable with more than one value, ACOS will generate an output variable with the same number of values.