Texas Instruments TMS34010 Reference Manual page 93

C compiler
Hide thumbs Also See for TMS34010:
Table of Contents

Advertisement

acos
Syntax
Defined in
Description
Example
6-18
#include
<math.h>
double acos(x)
double X;
asin.obj in rts.lib
Arc Cosine
The acos function returns the arc cosine of a floating-point argument, x.
X
must be in the range [-1,1]. The return value is an angle in the range
[O,n] radians.
double realval, radians;
realval
=
1.0;
radians
=
acos(rea1va1)i
return (radians);
/*
acos returns n/2
*/

Advertisement

Table of Contents
loading

Table of Contents