Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/external/lgpl3/mpc/dist initial import of MPC 1.2.1. from t...



details:   https://anonhg.NetBSD.org/src/rev/012710518d9a
branches:  trunk
changeset: 1022297:012710518d9a
user:      mrg <mrg%NetBSD.org@localhost>
date:      Sun Jul 11 20:13:00 2021 +0000

description:
initial import of MPC 1.2.1.  from their NEWS:

Changes in version 1.2.1, released in October 2020:
  - Bug fixes:
    - Fix an incompatibility problem with GMP 6.0 and before.
    - Fix an intermediate overflow in asin.

diffstat:

 external/lgpl3/mpc/dist/Makefile.vc       |    2 +-
 external/lgpl3/mpc/dist/NEWS              |   35 +++--
 external/lgpl3/mpc/dist/README            |    4 +-
 external/lgpl3/mpc/dist/config.h.in       |    3 -
 external/lgpl3/mpc/dist/configure         |   57 +------
 external/lgpl3/mpc/dist/configure.ac      |   18 +--
 external/lgpl3/mpc/dist/doc/mpc.info      |  Bin 
 external/lgpl3/mpc/dist/doc/mpc.texi      |  189 ++++++++++++---------------
 external/lgpl3/mpc/dist/doc/stamp-vti     |    8 +-
 external/lgpl3/mpc/dist/doc/version.texi  |    8 +-
 external/lgpl3/mpc/dist/src/Makefile.am   |    2 +-
 external/lgpl3/mpc/dist/src/Makefile.in   |    2 +-
 external/lgpl3/mpc/dist/src/asin.c        |   11 +-
 external/lgpl3/mpc/dist/src/atan.c        |    2 +-
 external/lgpl3/mpc/dist/src/get_version.c |    2 +-
 external/lgpl3/mpc/dist/src/mpc.h         |    4 +-
 external/lgpl3/mpc/dist/src/mul.c         |  199 +-----------------------------
 external/lgpl3/mpc/dist/src/pow.c         |    1 -
 external/lgpl3/mpc/dist/src/sqrt.c        |    7 -
 external/lgpl3/mpc/dist/tests/asin.dat    |    1 +
 20 files changed, 144 insertions(+), 411 deletions(-)

diffs (truncated from 1137 to 300 lines):

diff -r 2ad5f0fc1a37 -r 012710518d9a external/lgpl3/mpc/dist/Makefile.vc
--- a/external/lgpl3/mpc/dist/Makefile.vc       Sun Jul 11 20:07:41 2021 +0000
+++ b/external/lgpl3/mpc/dist/Makefile.vc       Sun Jul 11 20:13:00 2021 +0000
@@ -50,7 +50,7 @@
 CC = cl.exe
 CDEFAULTFLAGS=/O2 /GR- /MD /nologo /EHs
 
-VERSION=1.2.0
+VERSION=1.2.1
 
 ######################## do not edit below this line ##########################
 
diff -r 2ad5f0fc1a37 -r 012710518d9a external/lgpl3/mpc/dist/NEWS
--- a/external/lgpl3/mpc/dist/NEWS      Sun Jul 11 20:07:41 2021 +0000
+++ b/external/lgpl3/mpc/dist/NEWS      Sun Jul 11 20:13:00 2021 +0000
@@ -1,11 +1,16 @@
-Changes in version 1.2.0:
+Changes in version 1.2.1, released in October 2020:
+  - Bug fixes:
+    - Fix an incompatibility problem with GMP 6.0 and before.
+    - Fix an intermediate overflow in asin.
+
+Changes in version 1.2.0 ("Hyacinthus orientalis"), released in August 2020:
   - Minimally required library version: MPFR 4.1.0
   - New functions: mpc_sum, mpc_dot
   - Several functions are more robust with a reduced exponent range
     (for example corresponding to IEEE 754 binary formats)
   - New tool mpcheck.
 
-Changes in version 1.1.0:
+Changes in version 1.1.0 ("Gladiolus palustris"), released in January 2018:
   - Minimally required library versions: GMP 5.0.0 and MPFR 3.0.0
   - Fixed issues with MPFR 4.0.0
   - New functions: mpc_cmp_abs, mpc_rootofunity
@@ -19,25 +24,25 @@
   - Fixed a bug in mpc_atan(0,y) with |y| near 1, see
     http://lists.gforge.inria.fr/pipermail/mpc-discuss/2017-March/001404.html
 
-Changes in version 1.0.3:
+Changes in version 1.0.3, released in February 2015:
   - Fixed mpc_pow, see
     http://lists.gforge.inria.fr/pipermail/mpc-discuss/2014-October/001315.html
   - #18257: Switched to libtool 2.4.5.
 
-Changes in version 1.0.2:
+Changes in version 1.0.2, released in January 2014:
   - Fixed mpc_atan, mpc_atanh for (+-0, +-1), see
     http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57994#c7
   - Fixed mpc_log10 for purely imaginary argument, see
     http://lists.gforge.inria.fr/pipermail/mpc-discuss/2012-September/001208.html
 
-Changes in version 1.0.1:
+Changes in version 1.0.1, released in September 2012:
   - Switched to automake 1.11.6, see
     https://lists.gnu.org/archive/html/automake/2012-07/msg00023.html
   - #14669: Fixed extraction of CC from gmp.h
   - Fixed case of intermediate zero real or imaginary part in mpc_fma,
     found by hydra with GMP_CHECK_RANDOMIZE=1346362345
 
-Changes in version 1.0:
+Changes in version 1.0 ("Fagus silvatica"), released in July 2012:
   - First release as a GNU package
   - License change: LGPLv3+ for code, GFDLv1.3+ (with no invariant sections)
     for documentation
@@ -59,7 +64,7 @@
       infinite part and equals output variable is corrected
     - mpc_fr_sub: Wrong return value for imaginary part is corrected
 
-Changes in version 0.9:
+Changes in version 0.9 ("Epilobium montanum"), released in February 2011:
   - New functions:
     - mpc_set_dc, mpc_set_ldc, mpc_get_dc, mpc_get_ldc for converting
       between mpc type variables and C variables of type double _Complex
@@ -81,24 +86,24 @@
       #include "mpc-log.h" instead of #include "mpc.h"
   - Minimally required library versions: gmp 4.3.2, mpfr 2.4.2
 
-Changes in version 0.8.2:
+Changes in version 0.8.2, released in May 2010:
   - Speed-up of mpc_pow_ui through binary exponentiation
 
-Changes in version 0.8.1:
+Changes in version 0.8.1, released in December 2009:
   - Bug fixes:
     - mpc_acosh, mpc_asinh, mpc_atanh: swap of precisions between real and
       imaginary parts
     - mpc_atan: memory leak
     - mpc_log: wrong ternary value in data file; masked by bug in mpfr-2.4.1
 
-Changes in version 0.8 ("Dianthus deltoides"):
+Changes in version 0.8 ("Dianthus deltoides"), released in November 2009:
   - New functions:
     - mpc_asin, mpc_acos, mpc_atan, mpc_asinh, mpc_acosh, mpc_atanh,
       mpc_pow_d, mpc_pow_ld, mpc_pow_si, mpc_pow_ui, mpc_pow_z, mpc_pow_fr
   - Bug fixes:
     - mpc_ui_div: real divisor
 
-Changes in version 0.7 ("Campanula uniflora"):
+Changes in version 0.7 ("Campanula uniflora"), released in September 2009:
   - New functions: mpc_pow, mpc_set_nan, mpc_swap
   - Bug fixes:
     - mpc_log: along branch cut
@@ -111,7 +116,7 @@
   - Changed MPC_SET_X_Y macro
   - Functions mpc_random and mpc_random2 removed
 
-Changes in version 0.6 ("Bellis perennis"):
+Changes in version 0.6 ("Bellis perennis"), released in April 2009:
   - New functions: mpc_get_str, mpc_set_str, mpc_strtoc, mpc_set_uj,
     mpc_set_sj, mpc_set_ld, mpc_set_ld_ld, mpc_set_si_si, mpc_set_uj_uj,
     mpc_set_sj_sj, mpc_set_f, mpc_set_f_f, mpc_set_q, mpc_set_q_q, mpc_set_z,
@@ -130,14 +135,14 @@
     - mpc_get_version and MPC_VERSION_STRING agree
     - Compilation on i686-pc-cygwin and i686-pc-mingw32 fixed
 
-Changes in version 0.5.2:
+Changes in version 0.5.2, released in December 2008:
   - New macros:
     - version number: MPC_VERSION_NUM, MPC_VERSION
   - Makefile.vc updated (thanks to Mickael Gastineau)
   - Compilation on Debian-Gnu-Linux-PowerPC and MacOsX
     fixed (thanks to Laurent Fousse and Mickael Gastineau)
 
-Changes in version 0.5.1:
+Changes in version 0.5.1, released in November 2008:
   - New functions:
     - mpc_set_fr_fr
     - mpc_real, mpc_imag
@@ -162,7 +167,7 @@
     - fix handling of special values: mpc_exp, mpc_log, mpc_mul, mpc_norm,
       mpc_sqr, mpc_sqrt
 
-Changes in version 0.5 ("Aconitum neomontanum"):
+Changes in version 0.5 ("Aconitum neomontanum"), released in September 2008:
   - Support for autotools
   - New functions:
      - logarithm
diff -r 2ad5f0fc1a37 -r 012710518d9a external/lgpl3/mpc/dist/README
--- a/external/lgpl3/mpc/dist/README    Sun Jul 11 20:07:41 2021 +0000
+++ b/external/lgpl3/mpc/dist/README    Sun Jul 11 20:13:00 2021 +0000
@@ -24,8 +24,8 @@
 
 1. In the directory of the GNU MPC archive, type
 
-      tar xzf mpc-1.2.0.tar.gz
-      cd mpc-1.2.0
+      tar xzf mpc-1.2.1.tar.gz
+      cd mpc-1.2.1
       ./configure
       make
 
diff -r 2ad5f0fc1a37 -r 012710518d9a external/lgpl3/mpc/dist/config.h.in
--- a/external/lgpl3/mpc/dist/config.h.in       Sun Jul 11 20:07:41 2021 +0000
+++ b/external/lgpl3/mpc/dist/config.h.in       Sun Jul 11 20:13:00 2021 +0000
@@ -39,9 +39,6 @@
 /* Define to 1 if you have the <memory.h> header file. */
 #undef HAVE_MEMORY_H
 
-/* mpfr_fmma is not present */
-#undef HAVE_MPFR_FMMA
-
 /* Define to 1 if you have the `setlocale' function. */
 #undef HAVE_SETLOCALE
 
diff -r 2ad5f0fc1a37 -r 012710518d9a external/lgpl3/mpc/dist/configure
--- a/external/lgpl3/mpc/dist/configure Sun Jul 11 20:07:41 2021 +0000
+++ b/external/lgpl3/mpc/dist/configure Sun Jul 11 20:13:00 2021 +0000
@@ -1,6 +1,6 @@
 #! /bin/sh
 # Guess values for system-dependent variables and create Makefiles.
-# Generated by GNU Autoconf 2.69 for mpc 1.2.0.
+# Generated by GNU Autoconf 2.69 for mpc 1.2.1.
 #
 # Report bugs to <mpc-discuss%lists.gforge.inria.fr@localhost>.
 #
@@ -590,8 +590,8 @@
 # Identity of this package.
 PACKAGE_NAME='mpc'
 PACKAGE_TARNAME='mpc'
-PACKAGE_VERSION='1.2.0'
-PACKAGE_STRING='mpc 1.2.0'
+PACKAGE_VERSION='1.2.1'
+PACKAGE_STRING='mpc 1.2.1'
 PACKAGE_BUGREPORT='mpc-discuss%lists.gforge.inria.fr@localhost'
 PACKAGE_URL=''
 
@@ -1333,7 +1333,7 @@
   # Omit some internal or obsolete options to make the list less imposing.
   # This message is too long to be a string in the A/UX 3.1 sh.
   cat <<_ACEOF
-\`configure' configures mpc 1.2.0 to adapt to many kinds of systems.
+\`configure' configures mpc 1.2.1 to adapt to many kinds of systems.
 
 Usage: $0 [OPTION]... [VAR=VALUE]...
 
@@ -1403,7 +1403,7 @@
 
 if test -n "$ac_init_help"; then
   case $ac_init_help in
-     short | recursive ) echo "Configuration of mpc 1.2.0:";;
+     short | recursive ) echo "Configuration of mpc 1.2.1:";;
    esac
   cat <<\_ACEOF
 
@@ -1525,7 +1525,7 @@
 test -n "$ac_init_help" && exit $ac_status
 if $ac_init_version; then
   cat <<\_ACEOF
-mpc configure 1.2.0
+mpc configure 1.2.1
 generated by GNU Autoconf 2.69
 
 Copyright (C) 2012 Free Software Foundation, Inc.
@@ -1948,7 +1948,7 @@
 This file contains any messages produced by compilers while
 running configure, to aid debugging if configure makes a mistake.
 
-It was created by mpc $as_me 1.2.0, which was
+It was created by mpc $as_me 1.2.1, which was
 generated by GNU Autoconf 2.69.  Invocation command line was
 
   $ $0 $@
@@ -2815,7 +2815,7 @@
 
 # Define the identity of the package.
  PACKAGE='mpc'
- VERSION='1.2.0'
+ VERSION='1.2.1'
 
 
 cat >>confdefs.h <<_ACEOF
@@ -13841,41 +13841,6 @@
 rm -f core conftest.err conftest.$ac_objext \
     conftest$ac_exeext conftest.$ac_ext
 
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpfr_fmma" >&5
-$as_echo_n "checking for mpfr_fmma... " >&6; }
-LIBS="-lmpfr $LIBS"
-cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-#include "mpfr.h"
-int
-main ()
-{
-mpfr_t x; mpfr_fmma (x, x, x, x, x, 0);
-
-  ;
-  return 0;
-}
-_ACEOF
-if ac_fn_c_try_link "$LINENO"; then :
-
-       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
-$as_echo "yes" >&6; }
-
-$as_echo "#define HAVE_MPFR_FMMA 1" >>confdefs.h
-
-
-else
-
-        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-$as_echo "no" >&6; }
-
-$as_echo "#define HAVE_MPFR_FMMA 0" >>confdefs.h
-
-
-fi
-rm -f core conftest.err conftest.$ac_objext \
-    conftest$ac_exeext conftest.$ac_ext
-
 # Check for a recent GMP
 # We only guarantee that with a *functional* and recent enough GMP version,
 # MPC will compile; we do not guarantee that GMP will compile.
@@ -14591,7 +14556,7 @@
 
          { $as_echo "$as_me:${as_lineno-$LINENO}: checking for current git version" >&5
 $as_echo_n "checking for current git version... " >&6; }
-         GITVERSION=9ab01ab
+         GITVERSION=5846144
 
 
          { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GITVERSION" >&5
@@ -15137,7 +15102,7 @@
 # report actual input values of CONFIG_FILES etc. instead of their
 # values after options handling.
 ac_log="
-This file was extended by mpc $as_me 1.2.0, which was
+This file was extended by mpc $as_me 1.2.1, which was
 generated by GNU Autoconf 2.69.  Invocation command line was
 
   CONFIG_FILES    = $CONFIG_FILES
@@ -15203,7 +15168,7 @@
 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
 ac_cs_version="\\
-mpc config.status 1.2.0
+mpc config.status 1.2.1
 configured by $0, generated by GNU Autoconf 2.69,
   with options \\"\$ac_cs_config\\"
 



Home | Main Index | Thread Index | Old Index