diff --git a/include/math.h b/include/math.h index d439a8c..3cec274 100755 --- a/include/math.h +++ b/include/math.h @@ -12,8 +12,6 @@ #ifndef _MATH_H #define _MATH_H -#include - #if FLT_EVAL_METHOD == 1 typedef double float_t; typedef double double_t; @@ -40,6 +38,10 @@ typedef double double_t; #define M_LN2 0.69314718056 #define M_LN10 2.302585093 +#define MATH_ERRNO 1 +#define MATH_ERREXCEPT 2 +#define math_errhandling (int) (MATH_ERRNO | MATH_ERREXCEPT) + double acos(double); float acosf(float); long double acosl(long double); @@ -108,6 +110,10 @@ double frexp(double, int *); float frexpf(float, int *); long double frexpl(double, int *); +double fabs(double); +float fabsf(float); +long double fabsl(long double); + #endif