diff options
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | math/math.h | 2 |
2 files changed, 8 insertions, 0 deletions
@@ -1,3 +1,9 @@ +2017-10-31 Joseph Myers <joseph@codesourcery.com> + + * math/math.h + [__FLT_EVAL_METHOD__ == 0 || __FLT_EVAL_METHOD__ == 32] + (__MATH_EVAL_FMT2): Define to add 0.0f. + 2017-10-31 Alan Modra <amodra@gmail.com> * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-power8.S: Don't diff --git a/math/math.h b/math/math.h index 125d845..326fd8e 100644 --- a/math/math.h +++ b/math/math.h @@ -1144,6 +1144,8 @@ iszero (__T __val) # define __MATH_EVAL_FMT2(x, y) ((x) + (y) + 0.0L) # elif __FLT_EVAL_METHOD__ == 1 || __FLT_EVAL_METHOD__ > 32 # define __MATH_EVAL_FMT2(x, y) ((x) + (y) + 0.0) +# elif __FLT_EVAL_METHOD__ == 0 || __FLT_EVAL_METHOD__ == 32 +# define __MATH_EVAL_FMT2(x, y) ((x) + (y) + 0.0f) # else # define __MATH_EVAL_FMT2(x, y) ((x) + (y)) # endif |