diff options
author | pelissip <pelissip@280ebfd0-de03-0410-8827-d642c229c3f4> | 2003-12-01 10:25:01 +0000 |
---|---|---|
committer | pelissip <pelissip@280ebfd0-de03-0410-8827-d642c229c3f4> | 2003-12-01 10:25:01 +0000 |
commit | b2f4e6bf9660bc322f5f1145d77d26ba41a153fd (patch) | |
tree | 91e6474e6397e7d7806a789a906109b728770109 /exceptions.c | |
parent | 2599eb53f9946b1879d0657098027d29bf191a28 (diff) | |
download | mpfr-b2f4e6bf9660bc322f5f1145d77d26ba41a153fd.tar.gz |
Port all the IEEE dependent remaining functions so that it uses a generic way to compute the result if it detects that the double is not in IEEE format ( _GMP_IEEE_FLOATS == 0).
MPFR now should work well on non-IEEE machines.
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@2567 280ebfd0-de03-0410-8827-d642c229c3f4
Diffstat (limited to 'exceptions.c')
-rw-r--r-- | exceptions.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/exceptions.c b/exceptions.c index d35e6c10d..93b37d33a 100644 --- a/exceptions.c +++ b/exceptions.c @@ -179,7 +179,7 @@ mpfr_inexflag_p (void) return __gmpfr_flags & MPFR_FLAGS_INEXACT; } -#undef mpfr_set_underflow +/* #undef mpfr_set_underflow */ /* Note: In the rounding to the nearest mode, mpfr_set_underflow always rounds away from 0. In this rounding mode, you must call @@ -209,7 +209,7 @@ mpfr_set_underflow (mpfr_ptr x, mp_rnd_t rnd_mode, int sign) return sign > 0 ? inex : -inex; } -#undef mpfr_set_overflow +/* #undef mpfr_set_overflow */ int mpfr_set_overflow (mpfr_ptr x, mp_rnd_t rnd_mode, int sign) |