Name

acos — return the arc cosine of a value, in radians

Synopsis

acos( in x double precision);
 

Description

acos returns the arc cosine of x as an angle in radians in the range 0 to π. The argument is converted to an IEEE 64-bit float and the result is of that type.

Parameters

x

Value in the closed interval [-1, 1], as double precision.

Return Types

acos returns a double precision angle in radians.

Examples

Example 24.516. Simple example

SQL> select acos(0.5);
unnamed
DOUBLE PRECISION NOT NULL
_______________________________________________________________________________

        1.047197551196598

1 Rows. -- 1 msec.
      

See Also

asin, atan, cos, pi


© 1992 - OpenLink Software. All rights reserved.

Making Technology Work for You®