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

mercurial at gmplib.org mercurial at gmplib.org
Sun May 1 15:53:30 CEST 2011


details:   /var/hg/gmp/rev/15905be3464f
changeset: 14152:15905be3464f
user:      Torbjorn Granlund <tege at gmplib.org>
date:      Sun May 01 12:36:28 2011 +0200
description:
Remove left-over mention of Berkely MP functions.

details:   /var/hg/gmp/rev/ac9ce936a99d
changeset: 14153:ac9ce936a99d
user:      Torbjorn Granlund <tege at gmplib.org>
date:      Sun May 01 13:46:15 2011 +0200
description:
Add a copyright year.

details:   /var/hg/gmp/rev/e0d9ed336b2e
changeset: 14154:e0d9ed336b2e
user:      Torbjorn Granlund <tege at gmplib.org>
date:      Sun May 01 15:53:26 2011 +0200
description:
Trivial merge.

diffstat:

 ChangeLog                |  2 ++
 doc/gmp.texi             |  4 ----
 gmp-h.in                 |  3 ++-
 mpn/generic/toom33_mul.c |  2 +-
 4 files changed, 5 insertions(+), 6 deletions(-)

diffs (51 lines):

diff -r 5b2f9440c608 -r e0d9ed336b2e ChangeLog
--- a/ChangeLog	Sun May 01 12:05:06 2011 +0200
+++ b/ChangeLog	Sun May 01 15:53:26 2011 +0200
@@ -14,6 +14,8 @@
 	* doc/gmp.texi (mpf_urandomb): Explicit the fact that it does not
 	change the precision.
 
+	* gmp-h.in (__GMP_EXTERN_INLINE): Recent g++ uses gnu_inline.
+
 2011-04-28  Torbjorn Granlund  <tege at gmplib.org>
 
 	* configure.in (x86_64): Support bobcat specifically.
diff -r 5b2f9440c608 -r e0d9ed336b2e doc/gmp.texi
--- a/doc/gmp.texi	Sun May 01 12:05:06 2011 +0200
+++ b/doc/gmp.texi	Sun May 01 15:53:26 2011 +0200
@@ -1965,10 +1965,6 @@
 functions is this class.  (@pxref{Floating-point Functions})
 
 @item
-Functions compatible with Berkeley MP, such as @code{itom}, @code{madd}, and
- at code{mult}.  The associated type is @code{MINT}.
-
- at item
 Fast low-level functions that operate on natural numbers.  These are used by
 the functions in the preceding groups, and you can also call them directly
 from very time-critical user programs.  These functions' names begin with
diff -r 5b2f9440c608 -r e0d9ed336b2e gmp-h.in
--- a/gmp-h.in	Sun May 01 12:05:06 2011 +0200
+++ b/gmp-h.in	Sun May 01 15:53:26 2011 +0200
@@ -421,7 +421,8 @@
     GCC 4.3 and above with -std=c99 or -std=gnu99 implements ISO C99
     inline semantics, unless -fgnu89-inline is used.  */
 #ifdef __GNUC__
-#if (defined __GNUC_STDC_INLINE__) || (__GNUC__ == 4 && __GNUC_MINOR__ == 2)
+#if (defined __GNUC_STDC_INLINE__) || (__GNUC__ == 4 && __GNUC_MINOR__ == 2) \
+  || (defined __GNUC_GNU_INLINE__ && defined __cplusplus)
 #define __GMP_EXTERN_INLINE extern __inline__ __attribute__ ((__gnu_inline__))
 #else
 #define __GMP_EXTERN_INLINE      extern __inline__
diff -r 5b2f9440c608 -r e0d9ed336b2e mpn/generic/toom33_mul.c
--- a/mpn/generic/toom33_mul.c	Sun May 01 12:05:06 2011 +0200
+++ b/mpn/generic/toom33_mul.c	Sun May 01 15:53:26 2011 +0200
@@ -8,7 +8,7 @@
    SAFE TO REACH IT THROUGH DOCUMENTED INTERFACES.  IN FACT, IT IS ALMOST
    GUARANTEED THAT IT WILL CHANGE OR DISAPPEAR IN A FUTURE GNU MP RELEASE.
 
-Copyright 2006, 2007, 2008 Free Software Foundation, Inc.
+Copyright 2006, 2007, 2008, 2010 Free Software Foundation, Inc.
 
 This file is part of the GNU MP Library.
 


More information about the gmp-commit mailing list