tanh
7-58
Hyperbolic Tangent
tanh
Syntax
#include <math.h>
double
tanh
(double x);
Defined in
tanh.c in rts.src
Description
The tanh function returns the hyperbolic tangent of a floating-point number x.
Example
double x, y;
x = 0.0;
y = tanh(x);
/* return value = 0.0 */
Time
time
Syntax
#include <time.h>
time_t
time
(time_t *timer);
Defined in
time.c in rts.src
Description
The time function determines the current calendar time, represented in sec-
onds since 12:00 A.M., Jan 1, 1900. If the calendar time is not available, the
function returns
−
1. If timer is not a null pointer, the function also assigns the
return value to the object that timer points to.
For more information about the functions and types that the time.h header
declares and defines, see section 7.2.12,
Time Functions (time.h)
, on page
Note: Writing Your Own Time Function
The time function is target-system specific, so you must write your own time
function.
Summary of Contents for TMS320C2x
Page 8: ...viii...
Page 69: ...2 47 C Compiler Description...
Page 159: ...6 36...
Page 226: ...8 6...