diff options
author | thevenyp <thevenyp@280ebfd0-de03-0410-8827-d642c229c3f4> | 2008-02-27 12:55:12 +0000 |
---|---|---|
committer | thevenyp <thevenyp@280ebfd0-de03-0410-8827-d642c229c3f4> | 2008-02-27 12:55:12 +0000 |
commit | cd4c583359f84ad9d58f61b4c97ed29dced8557e (patch) | |
tree | 7cfb67846f538ebf724dc078d459831bda2849e9 /add_d.c | |
parent | 4eef2a6de0affc21d70c074f35d0a2e5d17b60d0 (diff) | |
download | mpfr-cd4c583359f84ad9d58f61b4c97ed29dced8557e.tar.gz |
code simplification.
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@5323 280ebfd0-de03-0410-8827-d642c229c3f4
Diffstat (limited to 'add_d.c')
-rw-r--r-- | add_d.c | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -41,8 +41,7 @@ mpfr_add_d (mpfr_ptr a, mpfr_srcptr b, double c, mp_rnd_t rnd_mode) mpfr_clear_flags (); inexact = mpfr_add (a, b, d, rnd_mode); - if (MPFR_UNLIKELY (MPFR_IS_SINGULAR (a) - || (__gmpfr_flags & MPFR_FLAGS_ALL))) + if (MPFR_UNLIKELY (__gmpfr_flags & MPFR_FLAGS_ALL)) { MPFR_SAVE_EXPO_UPDATE_FLAGS (expo, __gmpfr_flags); } |