summaryrefslogtreecommitdiff
path: root/Build/source/libs/mpfr/mpfr-src/src/add_ui.c
diff options
context:
space:
mode:
authorAkira Kakuto <kakuto@fuk.kindai.ac.jp>2016-09-28 08:13:29 +0000
committerAkira Kakuto <kakuto@fuk.kindai.ac.jp>2016-09-28 08:13:29 +0000
commitf7b738cb900737646435336e5932c089a4e3c32f (patch)
tree4ab47d8c518aa6e86216b3451c7f415ed217658a /Build/source/libs/mpfr/mpfr-src/src/add_ui.c
parent460968dd6d10a96729c24a3f37e1f54928c39603 (diff)
mpfr 3.1.5
git-svn-id: svn://tug.org/texlive/trunk@42168 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/libs/mpfr/mpfr-src/src/add_ui.c')
-rw-r--r--Build/source/libs/mpfr/mpfr-src/src/add_ui.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/Build/source/libs/mpfr/mpfr-src/src/add_ui.c b/Build/source/libs/mpfr/mpfr-src/src/add_ui.c
index 49c6752a074..700ca6f943c 100644
--- a/Build/source/libs/mpfr/mpfr-src/src/add_ui.c
+++ b/Build/source/libs/mpfr/mpfr-src/src/add_ui.c
@@ -49,6 +49,7 @@ mpfr_add_ui (mpfr_ptr y, mpfr_srcptr x, unsigned long int u, mpfr_rnd_t rnd_mode
MPFR_SAVE_EXPO_MARK (expo);
MPFR_SET_EXP (uu, GMP_NUMB_BITS - cnt);
inex = mpfr_add(y, x, uu, rnd_mode);
+ MPFR_SAVE_EXPO_UPDATE_FLAGS (expo, __gmpfr_flags);
MPFR_SAVE_EXPO_FREE (expo);
return mpfr_check_range(y, inex, rnd_mode);
}