toaruos/base/usr/include/math.h

45 lines
1.0 KiB
C
Raw Normal View History

2018-10-12 05:15:40 +03:00
#pragma once
#include <_cheader.h>
_Begin_C_Header
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);
2018-10-12 04:35:28 +03:00
extern float sqrtf(float x);
extern double fabs(double x);
2018-10-12 04:35:28 +03:00
extern float fabsf(float 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);
2018-06-26 14:53:48 +03:00
extern double atan(double x);
2018-06-25 10:28:13 +03:00
extern double modf(double x, double *iptr);
2018-09-21 14:26:22 +03:00
extern double hypot(double x, double y);
2018-10-12 05:15:40 +03:00
_End_C_Header