Zilog ZUSBOPTS User Manual
Page 428
Standard Header Files
UM017105-0511
400
Zilog Developer Studio II – ZNEO™
User Manual
The following additional exponential functions are provided:
Logarithmic
The following additional logarithmic functions are provided:
Power
The following additional power functions are provided:
Nearest Integer
float expf(float x);
Calculates exponential function of x.
float frexpf(float value, int *exp);
Shows x as product of mantissa (the value
returned by frexp) and 2 to the n.
float ldexpf(float x, int exp);
Calculates x times 2 to the exp.
double log(double x);
Calculates natural logarithm of x.
double log10(double x);
Calculates base 10 logarithm of x.
double modf(double value, double
*iptr);
Breaks down x into integer (the value returned by
modf) and fractional (n) parts.
float logf(float x);
Calculates natural logarithm of x.
float log10f(float x);
Calculates base 10 logarithm of x.
float modff(float value, float *iptr);
Breaks down x into integer (the value returned by
modf) and fractional (n) parts.
double pow(double x, double y);
Calculates x to the y.
double sqrt(double x);
Finds square root of x.
float powf(float x, float y);
Calculates x to the y.
float sqrtf(float x);
Finds square root of x.
double ceil(double x);
Finds integer ceiling of x.
double fabs(double x);
Finds absolute value of x.
double floor(double x);
Finds largest integer less than or equal to x.
double fmod(double x,double y);
Finds floating-point remainder of x/y.