Acos, Asin, Abs acos asin – Zilog EZ80F916 User Manual
Page 353

UM014423-0607
C Standard Library
ZiLOG Developer Studio II
eZ80Acclaim!
®
User Manual
333
abs
Computes the absolute value of an integer
j
. If the result cannot be represented, the behav-
ior is undefined.
Synopsis
#include
int abs(int j);
Returns
The absolute value.
Example
int I=-5632;
int j;
j=abs(I);
acos
Computes the principal value of the arc cosine of
x
. A domain error occurs for arguments
not in the range [-1,+1].
Synopsis
#include
double acos(double x);
Returns
The arc cosine in the range [0, pi].
Example
double y=0.5635;
double x;
x=acos(y);
asin
Computes the principal value of the arc sine of
x
. A domain error occurs for arguments not
in the range [-1,+1].
Synopsis
#include
double asin(double x);
This manual is related to the following products: