+++ /dev/null
---- gmp-impl.h.old Mon Jul 15 09:31:46 2002
-+++ gmp-impl.h Mon Jul 15 09:31:49 2002
-@@ -2527,6 +2527,7 @@
- || defined (_IBMR2) || defined (_ARCH_PPC) \
- || defined (__sh__) \
- || defined (__sparc) || defined (sparc) \
-+ || defined (__sparc__) /* gcc 3.1 */ \
- || defined (__we32k__)
- #define _GMP_IEEE_FLOATS 1
- union ieee_double_extract
+++ /dev/null
---- gmpxx.h.old Wed Jul 3 10:45:48 2002
-+++ gmpxx.h Wed Jul 3 10:49:28 2002
-@@ -2633,10 +2633,18 @@
- }
-
- // conversion functions
-- const mpz_classref get_num() const { return mpz_classref(mpq_numref(mp)); }
-- mpz_classref get_num() { return mpz_classref(mpq_numref(mp)); }
-- const mpz_classref get_den() const { return mpz_classref(mpq_denref(mp)); }
-- mpz_classref get_den() { return mpz_classref(mpq_denref(mp)); }
-+
-+ // casting a reference to an mpz_t to mpz_class & is a dirty hack,
-+ // but works because the internal representation of mpz_class is
-+ // exactly an mpz_t
-+ const mpz_class & get_num() const
-+ { return reinterpret_cast<const mpz_class &>(*mpq_numref(mp)); }
-+ mpz_class & get_num()
-+ { return reinterpret_cast<mpz_class &>(*mpq_numref(mp)); }
-+ const mpz_class & get_den() const
-+ { return reinterpret_cast<const mpz_class &>(*mpq_denref(mp)); }
-+ mpz_class & get_den()
-+ { return reinterpret_cast<mpz_class &>(*mpq_denref(mp)); }
-
- mpq_srcptr get_mpq_t() const { return mp; }
- mpq_ptr get_mpq_t() { return mp; }
+++ /dev/null
-Index: randraw.c
-===================================================================
-RCS file: /home/cvsfiles/gmp/randraw.c,v
-retrieving revision 1.18
-retrieving revision 1.19
-diff -u -r1.18 -r1.19
---- randraw.c 2002/05/14 16:59:44 1.18
-+++ randraw.c 2002/06/09 08:12:03 1.19
-@@ -112,10 +112,8 @@
- if (seedn == 0)
- {
- /* Seed is 0. Result is C % M. Assume table is sensibly stored,
-- with C smaller than M*/
-+ with C smaller than M. */
- *rp = c;
--
-- ASSERT_ALWAYS (((mp_limb_t) 1 << m2exp) > c);
-
- *seedp = c;
- SIZ (rstate->_mp_seed) = 1;