]> git.pld-linux.org Git - packages/gmp.git/commitdiff
- outdated
authorundefine <undefine@pld-linux.org>
Thu, 5 Dec 2002 00:27:29 +0000 (00:27 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    gmp-impl.h.sparc.diff -> 1.2
    gmpxx.h.getnum.diff -> 1.2
    randraw.c.41.diff -> 1.2

gmp-impl.h.sparc.diff [deleted file]
gmpxx.h.getnum.diff [deleted file]
randraw.c.41.diff [deleted file]

diff --git a/gmp-impl.h.sparc.diff b/gmp-impl.h.sparc.diff
deleted file mode 100644 (file)
index e1e2686..0000000
+++ /dev/null
@@ -1,10 +0,0 @@
---- 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
diff --git a/gmpxx.h.getnum.diff b/gmpxx.h.getnum.diff
deleted file mode 100644 (file)
index 941d12b..0000000
+++ /dev/null
@@ -1,25 +0,0 @@
---- 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; }
diff --git a/randraw.c.41.diff b/randraw.c.41.diff
deleted file mode 100644 (file)
index 7eb4ff0..0000000
+++ /dev/null
@@ -1,20 +0,0 @@
-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;
This page took 0.036989 seconds and 4 git commands to generate.