diff options
author | Ulrich Drepper <drepper@gmail.com> | 2011-10-18 09:59:04 -0400 |
---|---|---|
committer | Ulrich Drepper <drepper@gmail.com> | 2011-10-18 09:59:04 -0400 |
commit | 4855e3ddf5061dd8ddcefafc7185f6f70937434b (patch) | |
tree | 7e29eb6e22a1dda9a7133e577787ac9f9b6c17e7 /math | |
parent | 23ce5627803ad1e6686355965cd68bb23d05fb28 (diff) | |
download | glibc-4855e3ddf5061dd8ddcefafc7185f6f70937434b.tar.gz glibc-4855e3ddf5061dd8ddcefafc7185f6f70937434b.tar.xz glibc-4855e3ddf5061dd8ddcefafc7185f6f70937434b.zip |
Provide combined internal feholdexcept/fesetround interface
Diffstat (limited to 'math')
-rw-r--r-- | math/math_private.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/math/math_private.h b/math/math_private.h index a1ce0142b1..38ff09e7e0 100644 --- a/math/math_private.h +++ b/math/math_private.h @@ -376,6 +376,13 @@ extern void __docos (double __x, double __dx, double __v[]); #define libc_feholdexceptf(e) (void) feholdexcept (e) #define libc_feholdexceptl(e) (void) feholdexcept (e) +#define libc_feholdexcept_setround(e, r) \ + do { feholdexcept (e); fesetround (r); } while (0) +#define libc_feholdexcept_setroundf(e, r) \ + do { feholdexcept (e); fesetround (r); } while (0) +#define libc_feholdexcept_setroundl(e, r) \ + do { feholdexcept (e); fesetround (r); } while (0) + #define libc_fesetenv(e) (void) fesetenv (e) #define libc_fesetenvf(e) (void) fesetenv (e) #define libc_fesetenvl(e) (void) fesetenv (e) |