Texas Instruments TMS320C2x User Manual page 175

Optimizing c compiler digital signal processor
Hide thumbs Also See for TMS320C2x:
Table of Contents

Advertisement

Summary of Run-Time-Support Functions and Macros
(d) Floating-point math functions (math.h)
Function
double acos(double x);
double asin(double x);
double atan(double x);
double atan2(double y, double x);
double ceil(double x);
double cos(double x);
double cosh(double x);
double exp(double x);
double fabs(double x);
double floor(double x);
double fmod(double x, double y);
double frexp(double value, int *exp);
double ldexp(double x, int exp);
double log(double x);
double log10(double x);
double modf(double value, double *ip);
double pow(double x, double y);
double sin(double x);
double sinh(double x);
double sqrt(double x);
double tan(double x);
double tanh(double x);
7-16
Description
Returns the arc cosine of x
Returns the arc sine of x
Returns the arc tangent of x
Returns the arc tangent of y/x
Returns the smallest integer ≥ x; expands inline if
−x is used
Returns the cosine of x
Returns the hyperbolic cosine of x
x
Returns e
Returns the absolute value of x
Returns the largest integer  x; expands inline if
−x is used
Returns the exact floating-point remainder of x/y
Returns f and exp such that .5 v |f| t 1 and value
exp
is equal to f × 2
exp
Returns x × 2
Returns the natural logarithm of x
Returns the base-10 logarithm of x
Breaks value into a signed integer and a signed
fraction
y
Returns x
Returns the sine of x
Returns the hyperbolic sine of x
Returns the nonnegative square root of x
Returns the tangent of x
Returns the hyperbolic tangent of x
Page
7-22
7-22
7-24
7-24
7-27
7-28
7-29
7-31
7-31
7-32
7-32
7-33
7-36
7-37
7-37
7-42
7-42
7-46
7-46
7-47
7-57
7-58

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the TMS320C2x and is the answer not in the manual?

This manual is also suitable for:

Tms320c2xxTms320c5x

Table of Contents