diff options
author | pelissip <pelissip@280ebfd0-de03-0410-8827-d642c229c3f4> | 2004-05-04 09:05:00 +0000 |
---|---|---|
committer | pelissip <pelissip@280ebfd0-de03-0410-8827-d642c229c3f4> | 2004-05-04 09:05:00 +0000 |
commit | 49cd4d2ada9392701b80437fd7a764e88e9bb8f7 (patch) | |
tree | 6cd01bc0cb202775371c932ad0f1bb5ef90e7e25 /add1sp.c | |
parent | 72b594083c189387b58a7eb50df35857713eee22 (diff) | |
download | mpfr-49cd4d2ada9392701b80437fd7a764e88e9bb8f7.tar.gz |
Fix an overflow bug in add1sp.
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@2887 280ebfd0-de03-0410-8827-d642c229c3f4
Diffstat (limited to 'add1sp.c')
-rw-r--r-- | add1sp.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -319,7 +319,7 @@ mpfr_add1sp (mpfr_ptr a, mpfr_srcptr b, mpfr_srcptr c, mp_rnd_t rnd_mode) inexact = 1; set_exponent: - if (MPFR_UNLIKELY(bx >= __gmpfr_emax)) /* Check for overflow */ + if (MPFR_UNLIKELY(bx > __gmpfr_emax)) /* Check for overflow */ { DEBUG( printf("Overflow\n") ); TMP_FREE(marker); |