summaryrefslogtreecommitdiff
path: root/set_d.c
diff options
context:
space:
mode:
authorpelissip <pelissip@280ebfd0-de03-0410-8827-d642c229c3f4>2003-12-01 10:25:01 +0000
committerpelissip <pelissip@280ebfd0-de03-0410-8827-d642c229c3f4>2003-12-01 10:25:01 +0000
commitb2f4e6bf9660bc322f5f1145d77d26ba41a153fd (patch)
tree91e6474e6397e7d7806a789a906109b728770109 /set_d.c
parent2599eb53f9946b1879d0657098027d29bf191a28 (diff)
downloadmpfr-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 'set_d.c')
-rw-r--r--set_d.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/set_d.c b/set_d.c
index 7e5672b14..79cd23af9 100644
--- a/set_d.c
+++ b/set_d.c
@@ -34,16 +34,6 @@ MA 02111-1307, USA. */
#error "Unsupported value of BITS_PER_MP_LIMB"
#endif
-/* Included from gmp-2.0.2, patched to support denorms */
-
-#ifdef XDEBUG
-#undef _GMP_IEEE_FLOATS
-#endif
-
-#ifndef _GMP_IEEE_FLOATS
-#define _GMP_IEEE_FLOATS 0
-#endif
-
static int
__mpfr_extract_double (mp_ptr rp, double d)
/* e=0 iff BITS_PER_MP_LIMB=32 and rp has only one limb */