
Standard Functions UM017105-0511
414
Zilog Developer Studio II – ZNEO™
User Manual
cos, cosf
Computes the cosine of x (measured in radians). A large magnitude argument can yield a
result with little or no significance.
Synopsis
#include <math.h>
double cos(double x);
float cosf(float x);
Returns
The cosine value.
Example
double y=.1234;
double x;
x=cos(y);
cosh, coshf
Computes the hyperbolic cosine of x. A range error occurs if the magnitude of x is too
large.
Synopsis
#include <math.h>
double cosh(double x);
float coshf(float x);
Returns
The hyperbolic cosine value.
Example
double y=.1234;
double x
x=cosh(y);
div
Computes the quotient and remainder of the division of the numerator numer by the
denominator
denom. If the division is inexact, the sign of the quotient is that of the mathe-
Comentarios a estos manuales