toaruos/base/usr/include/math.h

30 lines
794 B
C
Raw Normal View History

2018-02-25 08:13:54 +03:00
#define M_PI 3.1415926
extern double floor(double x);
extern int abs(int j);
2018-03-01 06:11:05 +03:00
extern double pow(double x, double y);
extern double exp(double x);
extern double fmod(double x, double y);
extern double sqrt(double x);
extern double fabs(double x);
extern double sin(double x);
extern double cos(double x);
2018-06-25 06:11:33 +03:00
double frexp(double x, int *exp);
#define HUGE_VAL (__builtin_huge_val())
2018-06-25 07:15:09 +03:00
/* Unimplemented, but stubbed */
extern double acos(double x);
extern double asin(double x);
extern double atan2(double y, double x);
extern double ceil(double x);
extern double cosh(double x);
extern double ldexp(double a, int exp);
extern double log(double x);
extern double log10(double x);
extern double log2(double x);
extern double sinh(double x);
extern double tan(double x);
extern double tanh(double x);