=================================================================== RCS file: /home/cvs/OpenXM_contrib/gmp/mpz/Attic/set_d.c,v retrieving revision 1.1.1.2 retrieving revision 1.1.1.3 diff -u -p -r1.1.1.2 -r1.1.1.3 --- OpenXM_contrib/gmp/mpz/Attic/set_d.c 2000/09/09 14:12:57 1.1.1.2 +++ OpenXM_contrib/gmp/mpz/Attic/set_d.c 2003/08/25 16:06:33 1.1.1.3 @@ -1,6 +1,6 @@ /* mpz_set_d(integer, val) -- Assign INTEGER with a double value VAL. -Copyright (C) 1995, 1996, 2000 Free Software Foundation, Inc. +Copyright 1995, 1996, 2000, 2001, 2002 Free Software Foundation, Inc. This file is part of the GNU MP Library. @@ -23,16 +23,10 @@ MA 02111-1307, USA. */ #include "gmp-impl.h" void -#if __STDC__ mpz_set_d (mpz_ptr r, double d) -#else -mpz_set_d (r, d) - mpz_ptr r; - double d; -#endif { int negative; - mp_limb_t tp[3]; + mp_limb_t tp[LIMBS_PER_DOUBLE]; mp_ptr rp; mp_size_t rn;