diff options
author | vlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4> | 2015-07-15 08:24:21 +0000 |
---|---|---|
committer | vlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4> | 2015-07-15 08:24:21 +0000 |
commit | f4997611f7dbd77341135164ce6988ee31d73320 (patch) | |
tree | b8c8e78d4c40d9716bf1a408606acab94ce60bfb | |
parent | f9e148362a0e865c93d5a9ff0ad8011749284837 (diff) | |
download | mpfr-f4997611f7dbd77341135164ce6988ee31d73320.tar.gz |
[src/frexp.c] Added a comment.
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@9613 280ebfd0-de03-0410-8827-d642c229c3f4
-rw-r--r-- | src/frexp.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/frexp.c b/src/frexp.c index a640efac8..69b79752a 100644 --- a/src/frexp.c +++ b/src/frexp.c @@ -59,6 +59,8 @@ mpfr_frexp (mpfr_exp_t *exp, mpfr_ptr y, mpfr_srcptr x, mpfr_rnd_t rnd) MPFR_BLOCK (flags, inex = mpfr_set (y, x, rnd)); __gmpfr_flags = saved_flags; + /* Possible overflow due to the rounding, no possible underflow. */ + if (MPFR_UNLIKELY (MPFR_OVERFLOW (flags))) { int inex2; |