Zilog EZ80F916 User Manual
Page 345

UM014423-0607
C Standard Library
ZiLOG Developer Studio II
eZ80Acclaim!
®
User Manual
325
expression errno acquires the value of the ERANGE macro. If the result underflows (the
magnitude of the result is so small that it cannot be represented in an object of the speci-
fied type), the function returns zero.
Functions
The following sections describe the mathematical functions:
•
•
•
•
•
•
Trigonometric
Hyperbolic
Exponential
double acos(double x);
Calculates arc cosine of x.
double asin(double x)
Calculates arc sine of x.
double atan(double x);
Calculates arc tangent of x.
double atan2(double y, double x);
Calculates arc tangent of y/x.
double cos(double x);
Calculates cosine of x.
double sin(double x);
Calculates sine of x.
double tan(double x);
Calculates tangent of x.
double cosh(double x);
Calculates hyperbolic cosine of x.
double sinh(double x);
Calculates hyperbolic sine of x.
double tanh(double x);
Calculates hyperbolic tangent of x.
double exp(double x);
Calculates exponential function of x.
double frexp(double value, int *exp);
Shows x as product of mantissa (the value returned by
frexp) and 2 to the n.
double ldexp(double x, int exp);
Calculates x times 2 to the exp.