summaryrefslogtreecommitdiff
path: root/src/rndna.c
diff options
context:
space:
mode:
authorzimmerma <zimmerma@280ebfd0-de03-0410-8827-d642c229c3f4>2012-07-03 15:03:41 +0000
committerzimmerma <zimmerma@280ebfd0-de03-0410-8827-d642c229c3f4>2012-07-03 15:03:41 +0000
commit729087a03909f6d8eb8f8755005525bd038ba5f6 (patch)
tree1ffc90a4f114ddb02d2294c5744c042ec5e1393d /src/rndna.c
parent1e86d01cac63f8ad54d3cfb6f9a9e280ec15bbca (diff)
downloadmpfr-729087a03909f6d8eb8f8755005525bd038ba5f6.tar.gz
several changes suggested by Vincent Lefevre
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@8311 280ebfd0-de03-0410-8827-d642c229c3f4
Diffstat (limited to 'src/rndna.c')
-rw-r--r--src/rndna.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rndna.c b/src/rndna.c
index 401c36414..872282a99 100644
--- a/src/rndna.c
+++ b/src/rndna.c
@@ -69,5 +69,5 @@ mpfr_round_nearest_away (mpfr_t rop, mpfr_srcptr op,
mpfr_clear (tmp);
MPFR_SAVE_EXPO_UPDATE_FLAGS (expo, __gmpfr_flags);
MPFR_SAVE_EXPO_FREE (expo);
- return inex;
+ return mpfr_check_range (rop, inex, MPFR_RNDN);
}