SOURCES: gmp-amd64.patch - merge 2005-05-23 patch from gmp website
arekm
arekm at pld-linux.org
Sun Aug 14 13:05:10 CEST 2005
Author: arekm Date: Sun Aug 14 11:05:10 2005 GMT
Module: SOURCES Tag: HEAD
---- Log message:
- merge 2005-05-23 patch from gmp website
---- Files affected:
SOURCES:
gmp-amd64.patch (1.3 -> 1.4)
---- Diffs:
================================================================
Index: SOURCES/gmp-amd64.patch
diff -u SOURCES/gmp-amd64.patch:1.3 SOURCES/gmp-amd64.patch:1.4
--- SOURCES/gmp-amd64.patch:1.3 Sun May 23 23:38:19 2004
+++ SOURCES/gmp-amd64.patch Sun Aug 14 13:05:05 2005
@@ -81,3 +81,28 @@
+#define BITS_PER_INT 32
+#define BITS_PER_SHORTINT 16
+#define BITS_PER_CHAR 8
+Index: gmp-impl.h
+===================================================================
+RCS file: /home/cvsfiles/gmp/gmp-impl.h,v
+retrieving revision 1.281.2.14
+retrieving revision 1.281.2.15
+diff -c -r1.281.2.14 -r1.281.2.15
+*** gmp/gmp-impl.h 13 Jan 2005 01:32:36 -0000 1.281.2.14
+--- gmp/gmp-impl.h 23 May 2005 17:54:15 -0000 1.281.2.15
+***************
+*** 2783,2789 ****
+ #define MPF_SIGNIFICANT_DIGITS(n, base, prec) \
+ do { \
+ ASSERT (base >= 2 && base < numberof (mp_bases)); \
+! (n) = 2 + (size_t) ((((prec) - 1) * BITS_PER_MP_LIMB) \
+ * mp_bases[(base)].chars_per_bit_exactly); \
+ } while (0)
+
+--- 2783,2789 ----
+ #define MPF_SIGNIFICANT_DIGITS(n, base, prec) \
+ do { \
+ ASSERT (base >= 2 && base < numberof (mp_bases)); \
+! (n) = 2 + (size_t) ((((size_t) (prec) - 1) * GMP_NUMB_BITS) \
+ * mp_bases[(base)].chars_per_bit_exactly); \
+ } while (0)
+
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SOURCES/gmp-amd64.patch?r1=1.3&r2=1.4&f=u
More information about the pld-cvs-commit
mailing list