X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=include%2Fmath.h;h=fea34686001b3df8835e6067efd0de886e184d7f;hb=184ef36f85d66583306413727fc5f39557d391e4;hp=6ac91da24f94365aa06bd904fb35036d1af21ac4;hpb=767f7a1091af3a3dcee2f7a49d0713359a81961c;p=musl diff --git a/include/math.h b/include/math.h index 6ac91da2..fea34686 100644 --- a/include/math.h +++ b/include/math.h @@ -27,7 +27,7 @@ extern "C" { #define MATH_ERREXCEPT 2 #define math_errhandling 2 -#define FP_ILOGBNAN (-1-(int)(((unsigned)-1)>>1)) +#define FP_ILOGBNAN (-1-0x7fffffff) #define FP_ILOGB0 FP_ILOGBNAN #define FP_NAN 0