Loading TOC...

MarkLogic Server 11.0 Product Documentation
math:acos

math:acos(
   $x as xs:double
) as xs:double

Summary

Returns the arc cosine of x, in radians, in the range from 0 to pi (inclusive).

Parameters
x The fraction to be evaluated. Must be in the range of -1 to +1 (inclusive).

Example

  math:acos(.5)

  => 1.0471975511966

Stack Overflow iconStack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.