Nonlocal jumps Page 346
Page 346

UM014423-0607
C Standard Library
ZiLOG Developer Studio II
eZ80Acclaim!
®
User Manual
326
Logarithmic
Power
Nearest Integer
Nonlocal Jumps
The <
setjmp.h
> header declares two functions and one type for bypassing the normal
function call and return discipline.
Type
Functions
Variable Arguments
The <
stdarg.h
> header declares a type and a function and defines two macros for
advancing through a list of arguments whose number and types are not known to the called
function when it is translated.
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.
double pow(double x, double y);
Calculates x to the y.
double sqrt(double 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.
jmp_buf An array type suitable for holding the information needed to restore a calling
environment.
int setjmp(jmp_buf env);
Saves a stack environment.
void longjmp(jmp_buf env, int val);
Restores a saved stack environment.