Texas Instruments TMS34010 Reference Manual page 85

C compiler
Hide thumbs Also See for TMS34010:
Table of Contents

Advertisement

Runtime-Support Functions - Summary
Floating-Point Math Functions (Continued)
Macro and Syntax
Description
double
ceil(x)
Returns the smallest integer greater than or equal to x
double
x;
double
cos(x)
Returns the cosine of a floating-point value x
double
x;
double
cosh(x)
Returns the hyperbolic cosine of a floating-point value x
double
x;
double
exp(x)
Returns the exponential function of a real number x
double
x;
double
fabs(x)
Returns the absolute value of a floating-point value x
double
x;
double
floor(x)
Returns the largest integer less than or equal to x
double
x;
double
fmod(x, y)
Returns the floating-point remainder of x/y
double
x, y;
double' frexp(value, exp)
Breaks a floating-point value into a normalized fraction and
double value;
an integer power of 2
int
*exp;
double
Idexp(x,
double x;
exp)
Multiplies a floating-point number by an integer power of 2
int
exp;
double
log(x)
Returns the natural logarithm of a real number x
double
x;
double
loglO(x)
Returns the base-1 0 logarithm of a real number x
double
x;
double
modf(value, iptr)
Breaks a floating-point number into into a signed integer and
double value;
a signed fraction
int
*iptr;
double
pow(x, y)
double
x, y;
Returns x raised to the power y
double
sin(x)
Returns the sine of a floating-point value x
double
x;
double
sinh(x)
Returns the hyperbolic sine of a floating-point value x
double
x;
double
sqrt(x)
double
x;
Returns the nonnegative square root of a real number x
double
tan (x)
Returns the tangent of a floating-point value x
double
x;
double
tanh ex)
Returns the hyperbolic tangent of a floating-point value x
double
x;
Variable Argument Functions and Macros
Header File: stdarg. h
Function/Macro and Syntax
Description
type
va-arg(ap,
type)
Accesses the next argument of type
type
in a
va-list
ap;
variable-argument list
void
va-end(ap)
Resets the calling mechanism after using va-arg
va-list
ap;
void
va-start(ap,
parmN)
Initializes
ap
to point to the first operand in the
va-list
ap;
variable-argument list
6-10

Advertisement

Table of Contents
loading

Table of Contents