Date and time functions
The table below lists the date and time functions included in libc.a.
Header file: time.h
Function
struct tm *gmtime(const time_t *t);
time_t mktime(struct tm *tmptr);
time_t time(time_t *tptr);
Mathematical functions
The table below lists the mathematical functions included in libc.a.
Header file: math.h, errno.h, float.h, limits.h
Function
double fabs(double x);
double ceil(double x);
double floor(double x);
double fmod(double x, double y);
double exp(double x);
double log(double x);
double log10(double x);
double frexp(double x, int *nptr);
double ldexp(double x, int n);
double modf(double x, double *nptr);
double pow(double x, double y);
double sqrt(double x);
double sin(double x);
double cos(double x);
double tan(double x);
double asin(double x);
double acos(double x);
double atan(double x);
double atan2(double y, double x);
double sinh(double x);
double cosh(double x);
double tanh(double x);
S5U1C17001C Manual
(Rev. 1.0)
Table 5.4.2.4 Date and time functions
Functionality
Convert calendar time to
standard time.
Convert standard time to
calendar time.
Return current calendar
time.
Table 5.4.2.5 Mathematical functions
Functionality
Return absolute value
( double type).
Round up double -type
decimal part.
Round down double -type
decimal part.
Calculate double -type
remainder.
x
Exponentiate (e
).
Calculate natural
logarithm.
Calculate common
logarithm.
Return mantissa and
exponent of floating-point
number.
Return floating-point
number from mantissa and
exponent.
Return integer and decimal
parts of floating-point
number.
y
Calculate x
.
Calculate square root.
Calculate sine.
Calculate cosine.
Calculate tangent.
Calculate arcsine.
Calculate arccosine.
Calculate arctangent.
Calculate arctangent of
y/x.
Calculate hyperbolic sine.
Calculate hyperbolic
cosine.
Calculate hyperbolic
tangent.
Seiko Epson Corporation
Reentrant
Nonreentrant Change static variable.
Nonreentrant Locale information and daylight savings time
settings are not applied.
Conditional Refer to global variable gm_sec .
Reentrant
Reentrant
Nonreentrant Change global variable errno .
Nonreentrant Change global variable errno .
Nonreentrant Change global variable errno .
Nonreentrant Change global variable errno .
Nonreentrant Change global variable errno .
Nonreentrant Change global variable errno .
Nonreentrant Change global variable errno .
Nonreentrant Change global variable errno .
Nonreentrant Change global variable errno .
Nonreentrant Change global variable errno .
Nonreentrant Change global variable errno .
Nonreentrant Change global variable errno .
Nonreentrant Change global variable errno .
Nonreentrant Change global variable errno .
Nonreentrant Change global variable errno .
Nonreentrant Change global variable errno .
Nonreentrant
Nonreentrant Change global variable errno .
Nonreentrant Change global variable errno .
Nonreentrant Change global variable errno .
Nonreentrant
5 Library
Notes
Notes
5-15
Need help?
Do you have a question about the S5U1C17001C and is the answer not in the manual?