[Gmp-commit] /var/hg/gmp: 2 new changesets

mercurial at gmplib.org mercurial at gmplib.org
Fri Oct 14 13:37:12 CEST 2011


details:   /var/hg/gmp/rev/40ac568f256d
changeset: 14325:40ac568f256d
user:      Torbjorn Granlund <tege at gmplib.org>
date:      Fri Oct 14 13:36:35 2011 +0200
description:
(s390 umul_ppmm): Fix typo in pure C variant.

details:   /var/hg/gmp/rev/28736d78f3c4
changeset: 14326:28736d78f3c4
user:      Torbjorn Granlund <tege at gmplib.org>
date:      Fri Oct 14 13:37:04 2011 +0200
description:
*** empty log message ***

diffstat:

 ChangeLog  |  1 +
 longlong.h |  2 +-
 2 files changed, 2 insertions(+), 1 deletions(-)

diffs (23 lines):

diff -r 7eac7c685c97 -r 28736d78f3c4 ChangeLog
--- a/ChangeLog	Fri Oct 14 08:40:40 2011 +0200
+++ b/ChangeLog	Fri Oct 14 13:37:04 2011 +0200
@@ -2,6 +2,7 @@
 
 	* configure.in: AC_DEFINE HAVE_HOST_CPU_s390_zarch.
 	* longlong.h (s390): Use it.
+	(s390 umul_ppmm): Fix typo in pure C variant.
 
 2011-10-13  Torbjorn Granlund  <tege at gmplib.org>
 
diff -r 7eac7c685c97 -r 28736d78f3c4 longlong.h
--- a/longlong.h	Fri Oct 14 08:40:40 2011 +0200
+++ b/longlong.h	Fri Oct 14 13:37:04 2011 +0200
@@ -683,7 +683,7 @@
     union {UDItype __ll;						\
 	   struct {USItype __h, __l;} __i;				\
 	  } __x;							\
-    __x.__ll = (UDItype) m0 * (UDItype) m1;				\
+    __x.__ll = (UDItype) (m0) * (UDItype) (m1);				\
     (xh) = __x.__i.__h; (xl) = __x.__i.__l;				\
   } while (0)
 #else


More information about the gmp-commit mailing list