
Summary of Run-Time-Support Functions and Macros
7-16
(d) Floating-point math functions (math.h)
Function
Description
Page
double
acos
(double x);
Returns the arc cosine of x
double
asin
(double x);
Returns the arc sine of x
double
atan
(double x);
Returns the arc tangent of x
double
atan2
(double y, double x);
Returns the arc tangent of y/x
double
ceil
(double x);
Returns the smallest integer
≥
x; expands inline if
−
x is used
double
cos
(double x);
Returns the cosine of x
double
cosh
(double x);
Returns the hyperbolic cosine of x
double
exp
(double x);
Returns e
x
double
fabs
(double x);
Returns the absolute value of x
double
floor
(double x);
Returns the largest integer
x; expands inline if
−
x is used
double
fmod
(double x, double y);
Returns the exact floating-point remainder of x/y
double
frexp
(double value, int *exp);
Returns f and exp such that .5
v
|f|
t
1 and value
is equal to f
×
2
exp
double
ldexp
(double x, int exp);
Returns x
×
2
exp
double
log
(double x);
Returns the natural logarithm of x
double
log10
(double x);
Returns the base-10 logarithm of x
double
modf
(double value, double *ip);
Breaks value into a signed integer and a signed
fraction
double
pow
(double x, double y);
Returns x
y
double
sin
(double x);
Returns the sine of x
double
sinh
(double x);
Returns the hyperbolic sine of x
double
sqrt
(double x);
Returns the nonnegative square root of x
double
tan
(double x);
Returns the tangent of x
double
tanh
(double x);
Returns the hyperbolic tangent of x
Содержание TMS320C2x
Страница 8: ...viii...
Страница 69: ...2 47 C Compiler Description...
Страница 159: ...6 36...
Страница 226: ...8 6...
Страница 250: ...Index Index 14 Z z shell option 2 2 2 4 2 14 overriding with c option 4 5 overriding with n option 2 13...