Neoview SQL Reference Manual (R2.4)
ACOS Function
The ACOS function returns the arccosine of a numeric value expression as an angle expressed
in radians.
ACOS is a Neoview SQL extension.
ACOS (numeric-expression)
numeric-expression
is an SQL numeric value expression that specifies the value for the argument of the ACOS
function. The range for the value of the argument is from -1 to +1. See “Numeric Value
Expressions” (page 250).
Examples of ACOS
• The ACOS function returns the value 3.49044274380724416E-001 or approximately 0.3491
in radians (which is 20 degrees).
ACOS (0.9397)
• This function returns the value 0.3491. The function ACOS is the inverse of the function
COS.
ACOS (COS (0.3491))
ACOS Function 325