X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=include%2Fmath.h;h=61738e6a261f16e5650190ad265a06660e46ee0b;hb=2e41887f54a8d01353204cb2509b4c466861e3b4;hp=65b1e9151177a5992ae47ae549fe26d4af20df74;hpb=f6819755779a084bf2f82cb90175a4d9a018de73;p=musl diff --git a/include/math.h b/include/math.h index 65b1e915..61738e6a 100644 --- a/include/math.h +++ b/include/math.h @@ -28,8 +28,8 @@ extern "C" { #define MATH_ERREXCEPT 2 #define math_errhandling 2 -#define FP_ILOGBNAN (((unsigned)-1)>>1) -#define FP_ILOGB0 (~FP_ILOGBNAN) +#define FP_ILOGBNAN (-1-(int)(((unsigned)-1)>>1)) +#define FP_ILOGB0 FP_ILOGBNAN #define FP_NAN 0 #define FP_INFINITE 1 @@ -391,6 +391,9 @@ long double ynl(int, long double); double exp10(double); float exp10f(float); long double exp10l(long double); +double pow10(double); +float pow10f(float); +long double pow10l(long double); #endif #ifdef __cplusplus