diff options
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | sysdeps/generic/math_private.h | 12 |
2 files changed, 18 insertions, 0 deletions
@@ -1,5 +1,11 @@ 2018-02-01 Joseph Myers <joseph@codesourcery.com> + * sysdeps/generic/math_private.h + [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (feholdexcept): + New inline function. + [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__feholdexcept): + Likewise. + * include/fenv.h [!_ISOMAC && !FE_TONEAREST]: Give #error. [!_ISOMAC] (FE_HAVE_ROUNDING_MODES): New macro. * sysdeps/generic/math_private.h diff --git a/sysdeps/generic/math_private.h b/sysdeps/generic/math_private.h index f93cf6927e..0a35cb39fb 100644 --- a/sysdeps/generic/math_private.h +++ b/sysdeps/generic/math_private.h @@ -673,6 +673,18 @@ __fegetenv (fenv_t *__e) } extern inline int +feholdexcept (fenv_t *__e) +{ + return 0; +} + +extern inline int +__feholdexcept (fenv_t *__e) +{ + return 0; +} + +extern inline int fesetenv (const fenv_t *__e) { return 0; |