X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=src%2Finternal%2Flibm.h;h=b5bd26b8407751e7042f6ad974a79af08226d0f0;hb=bdb0817599325e6ca6838717dfe18290695a59a2;hp=98bf5c68ce4d187e79180b5c8c360d3e8abb7793;hpb=3f94c648ef32c95fa7f5c94b5cb8f2b764fc1938;p=musl diff --git a/src/internal/libm.h b/src/internal/libm.h index 98bf5c68..b5bd26b8 100644 --- a/src/internal/libm.h +++ b/src/internal/libm.h @@ -64,6 +64,13 @@ union ldshape { /* Support signaling NaNs. */ #define WANT_SNAN 0 +#if WANT_SNAN +#error SNaN is unsupported +#else +#define issignalingf_inline(x) 0 +#define issignaling_inline(x) 0 +#endif + #ifndef TOINT_INTRINSICS #define TOINT_INTRINSICS 0 #endif @@ -147,7 +154,8 @@ static inline long double fp_barrierl(long double x) #define fp_force_evalf fp_force_evalf static inline void fp_force_evalf(float x) { - volatile float y = x; + volatile float y; + y = x; } #endif @@ -155,7 +163,8 @@ static inline void fp_force_evalf(float x) #define fp_force_eval fp_force_eval static inline void fp_force_eval(double x) { - volatile double y = x; + volatile double y; + y = x; } #endif @@ -163,7 +172,8 @@ static inline void fp_force_eval(double x) #define fp_force_evall fp_force_evall static inline void fp_force_evall(long double x) { - volatile long double y = x; + volatile long double y; + y = x; } #endif