diff options
author | pelissip <pelissip@280ebfd0-de03-0410-8827-d642c229c3f4> | 2003-12-15 14:39:35 +0000 |
---|---|---|
committer | pelissip <pelissip@280ebfd0-de03-0410-8827-d642c229c3f4> | 2003-12-15 14:39:35 +0000 |
commit | 2c85730f36ac232ff81bda66687af824546a81c7 (patch) | |
tree | 686c58a7b3d868f56d430a31800748713801680e /set_ui.c | |
parent | c0fca7cac78d758cb0bb6eaaad5f4463b96bd376 (diff) | |
download | mpfr-2c85730f36ac232ff81bda66687af824546a81c7.tar.gz |
+ Optimize a few div.c
+ Remove some warnings in asin.c, atan.c.
+ Include limits.h before gmp-impl.h in mpfr-impl.h
+ mpfr-tests.h doesn't include anumore standard include files.
+ Test files include only standard includes and mpfr-tests.h.
+ Add some forgotten mpfr_clear in mpf[r]_compat.
+ Remove some warnings in the tests.
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@2576 280ebfd0-de03-0410-8827-d642c229c3f4
Diffstat (limited to 'set_ui.c')
-rw-r--r-- | set_ui.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -68,7 +68,7 @@ mpfr_set_ui (mpfr_ptr x, unsigned long i, mp_rnd_t rnd_mode) if (MPFR_UNLIKELY(carry)) { /* nbits is the current exponent */ - if (MPFR_UNLIKELY(nbits == __gmpfr_emax)) + if (MPFR_UNLIKELY((mp_exp_t) nbits == __gmpfr_emax)) return mpfr_set_overflow(x, rnd_mode, 1); MPFR_SET_EXP (x, nbits + 1); |