This commit is contained in:
commit
47aee91ef4
396 changed files with 32003 additions and 0 deletions
44
tools/psyq/include/LIBMATH.H
Normal file
44
tools/psyq/include/LIBMATH.H
Normal file
|
@ -0,0 +1,44 @@
|
|||
/*
|
||||
* $PSLibId: Run-time Library Release 4.7$
|
||||
*/
|
||||
|
||||
#ifndef _LIBMATH_H_
|
||||
#define _LIBMATH_H_
|
||||
|
||||
/*
|
||||
libmath.h
|
||||
*/
|
||||
#define _ABS(x) ((x) < 0 ? -(x) : (x))
|
||||
#define fabs(x) _ABS(x)
|
||||
|
||||
extern int math_errno;
|
||||
extern int math_err_point;
|
||||
|
||||
|
||||
#if defined(_LANGUAGE_C_PLUS_PLUS)||defined(__cplusplus)||defined(c_plusplus)
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
double pow(double, double),exp(double);
|
||||
double log(double), log10(double);
|
||||
double floor(double), ceil(double);
|
||||
double fmod(double,double),modf(double,double *);
|
||||
double sin(double), cos(double), tan(double);
|
||||
double asin(double), acos(double);
|
||||
double atan(double), atan2(double, double);
|
||||
double sinh(double), cosh(double), tanh(double);
|
||||
double sqrt(double);
|
||||
double hypot(double, double);
|
||||
double ldexp(double, int), frexp(double, int *);
|
||||
|
||||
double atof(char *);
|
||||
double strtod(char *, char **);
|
||||
int printf2(char *, ...);
|
||||
int sprintf2(char *, char *, ...);
|
||||
|
||||
#if defined(_LANGUAGE_C_PLUS_PLUS)||defined(__cplusplus)||defined(c_plusplus)
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif /* _LIBMATH_H_ */
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue