µVision User's Guide

legacy

__acos

Summary
double __acos (
  double x);   /* number to calculate arc cosine of */
Description

The __acos debugger function calculates the arc cosine of the floating-point number x. The value of x must be between -1 and 1. The floating-point value returned by __acos is a number in the 0 to π range.

Return Value

The __acos function returns the arc cosine of x.

See Also

__asin

Example
> __acos(0.532);