From fe6920431511d7a674af603f56df002bc72912d1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=B4me=20Duval?= Date: Sun, 13 Dec 2009 16:35:25 +0000 Subject: [PATCH] added more missing prototypes in math.h git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34654 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- headers/posix/math.h | 22 ++++++++++++++++++++-- 1 file changed, 20 insertions(+), 2 deletions(-) diff --git a/headers/posix/math.h b/headers/posix/math.h index eed586cff5..c7d7741842 100644 --- a/headers/posix/math.h +++ b/headers/posix/math.h @@ -90,6 +90,7 @@ extern float coshf(float x); extern float expf(float x); extern float expm1f(float x); extern float fabsf(float x); +extern float fdimf(float x, float y); extern float floorf(float x); extern float fmaf(float x, float y, float z); extern float fmaxf(float x, float y); @@ -133,6 +134,7 @@ extern double cos(double x); extern double cosh(double x); extern double exp(double x); extern double fabs(double x); +extern double fdim(double x, double y); extern double floor(double x); extern double fma(double x, double y, double z); extern double fmax(double x, double y); @@ -168,19 +170,35 @@ extern long double asinl(long double x); extern long double atanl(long double x); extern long double atanhl(long double x); extern long double atan2l(long double y, long double x); +extern long double ceill(long double x); +extern long double cosl(long double x); +extern long double coshl(long double x); +extern long double expl(long double x); +extern long double fabsl(long double x); +extern long double fdiml(long double x, long double y); +extern long double floorl(long double x); extern long double fmal(long double x, long double y, long double z); extern long double fmaxl(long double x, long double y); extern long double fminl(long double x, long double y); +extern long double fmodl(long double x, long double y); +extern long double frexpl(long double num, int *exp); extern long double lgammal(long double x); -extern long double nanl(const char* tagp); -extern long double nearbyintl(long double x); extern long long llrintl(long double x); extern long long llroundl(long double x); extern long lrintl(long double x); extern long lroundl(long double x); +extern long double modfl(long double value, long double *iptr); +extern long double nanl(const char* tagp); +extern long double nearbyintl(long double x); extern long double powl(long double x, long double y); extern long double remquol(long double x, long double y, int *quo); extern long double roundl(long double x); +extern long double sinl(long double x); +extern long double sinhl(long double x); +extern long double sqrtl(long double x); +extern long double tanl(long double x); +extern long double tanhl(long double x); +extern long double truncl(long double x); /* some BSD non-ANSI or POSIX math functions */ extern double cbrt(double x);