diff options
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | math/tgmath.h | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog index ac692dc9e7..0fe7eafe99 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,9 @@ 2016-08-03 Joseph Myers <joseph@codesourcery.com> + * math/tgmath.h (nextdown): Define if + [__GLIBC_USE (IEC_60559_BFP_EXT)], not if [__USE_GNU]. + (nextup): Likewise. + * bits/libc-header-start.h (__GLIBC_USE_IEC_60559_FUNCS_EXT): New macro. * include/features.h (__STDC_WANT_IEC_60559_FUNCS_EXT__): diff --git a/math/tgmath.h b/math/tgmath.h index 8916fbe39c..de1eb985fe 100644 --- a/math/tgmath.h +++ b/math/tgmath.h @@ -392,7 +392,7 @@ prevailing rounding mode. */ #define rint(Val) __TGMATH_UNARY_REAL_ONLY (Val, rint) -#ifdef __USE_GNU +#if __GLIBC_USE (IEC_60559_BFP_EXT) /* Return X - epsilon. */ # define nextdown(Val) __TGMATH_UNARY_REAL_ONLY (Val, nextdown) /* Return X + epsilon. */ |