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 import MPC 1.1.0. from their NEWS:
details: https://anonhg.NetBSD.org/src/rev/054a211c2c0f
branches: trunk
changeset: 835688:054a211c2c0f
user: mrg <mrg%NetBSD.org@localhost>
date: Tue Sep 04 04:28:12 2018 +0000
description:
import MPC 1.1.0. from their NEWS:
Changes in version 1.1.0:
- 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
- Improved speed for corner cases of mpc_asin, mpc_sin, see
http://lists.gforge.inria.fr/pipermail/mpc-discuss/2013-December/001266.html
- Rewrite of the testing framework
- New mpcbench tool, used with "make bench"
- Fixed handling of over- and underflows with directed rounding in the
"other direction" for mpc_cos, mpc_sin, mpc_exp and mpc_pow, see
http://lists.gforge.inria.fr/pipermail/mpc-discuss/2015-March/001336.html
- 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
diffstat:
external/lgpl3/mpc/dist/INSTALL | 10 +-
external/lgpl3/mpc/dist/Makefile.am | 13 +-
external/lgpl3/mpc/dist/Makefile.in | 23 +-
external/lgpl3/mpc/dist/Makefile.vc | 26 +-
external/lgpl3/mpc/dist/NEWS | 16 +-
external/lgpl3/mpc/dist/TODO | 73 +-
external/lgpl3/mpc/dist/aclocal.m4 | 48 +-
external/lgpl3/mpc/dist/config.h.in | 9 +
external/lgpl3/mpc/dist/configure | 257 +++++-
external/lgpl3/mpc/dist/configure.ac | 45 +-
external/lgpl3/mpc/dist/doc/Makefile.in | 5 +-
external/lgpl3/mpc/dist/doc/mpc.info | Bin
external/lgpl3/mpc/dist/doc/mpc.texi | 49 +-
external/lgpl3/mpc/dist/doc/stamp-vti | 8 +-
external/lgpl3/mpc/dist/doc/version.texi | 8 +-
external/lgpl3/mpc/dist/ltmain.sh | 25 +-
external/lgpl3/mpc/dist/m4/libtool.m4 | 29 +-
external/lgpl3/mpc/dist/m4/ltversion.m4 | 10 +-
external/lgpl3/mpc/dist/m4/mpc.m4 | 19 +-
external/lgpl3/mpc/dist/m4/valgrind-tests.m4 | 18 +-
external/lgpl3/mpc/dist/src/Makefile.am | 14 +-
external/lgpl3/mpc/dist/src/Makefile.in | 41 +-
external/lgpl3/mpc/dist/src/acos.c | 39 +-
external/lgpl3/mpc/dist/src/asin.c | 104 ++-
external/lgpl3/mpc/dist/src/atan.c | 113 ++-
external/lgpl3/mpc/dist/src/cmp_abs.c | 113 +++
external/lgpl3/mpc/dist/src/div.c | 88 +-
external/lgpl3/mpc/dist/src/div_fr.c | 4 +-
external/lgpl3/mpc/dist/src/exp.c | 53 +-
external/lgpl3/mpc/dist/src/fma.c | 28 +-
external/lgpl3/mpc/dist/src/fr_div.c | 4 +-
external/lgpl3/mpc/dist/src/get_version.c | 26 +-
external/lgpl3/mpc/dist/src/log.c | 32 +-
external/lgpl3/mpc/dist/src/log10.c | 353 +++-------
external/lgpl3/mpc/dist/src/mpc-impl.h | 52 +-
external/lgpl3/mpc/dist/src/mpc.h | 123 +-
external/lgpl3/mpc/dist/src/mul.c | 159 ++-
external/lgpl3/mpc/dist/src/mul_fr.c | 4 +-
external/lgpl3/mpc/dist/src/mul_i.c | 6 +-
external/lgpl3/mpc/dist/src/norm.c | 30 +-
external/lgpl3/mpc/dist/src/pow.c | 49 +-
external/lgpl3/mpc/dist/src/pow_fr.c | 4 +-
external/lgpl3/mpc/dist/src/pow_ui.c | 8 +-
external/lgpl3/mpc/dist/src/rootofunity.c | 195 +++++
external/lgpl3/mpc/dist/src/sin_cos.c | 117 ++-
external/lgpl3/mpc/dist/src/sqr.c | 33 +-
external/lgpl3/mpc/dist/src/sqrt.c | 80 +-
external/lgpl3/mpc/dist/src/strtoc.c | 4 +-
external/lgpl3/mpc/dist/src/tan.c | 36 +-
external/lgpl3/mpc/dist/tests/Makefile.am | 59 +-
external/lgpl3/mpc/dist/tests/Makefile.in | 215 ++++-
external/lgpl3/mpc/dist/tests/abs.dsc | 29 +
external/lgpl3/mpc/dist/tests/acos.dsc | 28 +
external/lgpl3/mpc/dist/tests/acosh.dsc | 28 +
external/lgpl3/mpc/dist/tests/add.dsc | 30 +
external/lgpl3/mpc/dist/tests/add_fr.dsc | 30 +
external/lgpl3/mpc/dist/tests/add_si.dsc | 31 +
external/lgpl3/mpc/dist/tests/add_ui.dsc | 31 +
external/lgpl3/mpc/dist/tests/arg.dsc | 28 +
external/lgpl3/mpc/dist/tests/asin.dat | 9 +-
external/lgpl3/mpc/dist/tests/asin.dsc | 28 +
external/lgpl3/mpc/dist/tests/asinh.dsc | 28 +
external/lgpl3/mpc/dist/tests/atan.dat | 6 +-
external/lgpl3/mpc/dist/tests/atan.dsc | 28 +
external/lgpl3/mpc/dist/tests/atanh.dsc | 28 +
external/lgpl3/mpc/dist/tests/check_data.c | 121 +++
external/lgpl3/mpc/dist/tests/clear_parameters.c | 84 ++
external/lgpl3/mpc/dist/tests/close_datafile.c | 28 +
external/lgpl3/mpc/dist/tests/cmp_abs.dat | 146 ++++
external/lgpl3/mpc/dist/tests/cmp_abs.dsc | 28 +
external/lgpl3/mpc/dist/tests/conj.dsc | 29 +
external/lgpl3/mpc/dist/tests/copy_parameter.c | 123 +++
external/lgpl3/mpc/dist/tests/cos.dat | 3 +
external/lgpl3/mpc/dist/tests/cos.dsc | 28 +
external/lgpl3/mpc/dist/tests/cosh.dsc | 28 +
external/lgpl3/mpc/dist/tests/data_check.tpl | 93 ++
external/lgpl3/mpc/dist/tests/div.dat | 8 +-
external/lgpl3/mpc/dist/tests/div.dsc | 29 +
external/lgpl3/mpc/dist/tests/div_2si.dsc | 29 +
external/lgpl3/mpc/dist/tests/div_2ui.dsc | 29 +
external/lgpl3/mpc/dist/tests/div_fr.dsc | 29 +
external/lgpl3/mpc/dist/tests/div_ui.dsc | 29 +
external/lgpl3/mpc/dist/tests/double_rounding.c | 186 +++++
external/lgpl3/mpc/dist/tests/exceptions.c | 155 ++++
external/lgpl3/mpc/dist/tests/exp.dat | 7 +-
external/lgpl3/mpc/dist/tests/exp.dsc | 28 +
external/lgpl3/mpc/dist/tests/fma.dsc | 31 +
external/lgpl3/mpc/dist/tests/fr_div.dsc | 29 +
external/lgpl3/mpc/dist/tests/fr_sub.dsc | 29 +
external/lgpl3/mpc/dist/tests/imag.dsc | 29 +
external/lgpl3/mpc/dist/tests/init_parameters.c | 84 ++
external/lgpl3/mpc/dist/tests/log.dat | 20 +-
external/lgpl3/mpc/dist/tests/log.dsc | 28 +
external/lgpl3/mpc/dist/tests/log10.dsc | 28 +
external/lgpl3/mpc/dist/tests/mpc-tests.h | 334 ++++++--
external/lgpl3/mpc/dist/tests/mpfr_flags.c | 115 +++
external/lgpl3/mpc/dist/tests/mul.dat | 10 +-
external/lgpl3/mpc/dist/tests/mul.dsc | 30 +
external/lgpl3/mpc/dist/tests/mul_2si.dsc | 29 +
external/lgpl3/mpc/dist/tests/mul_2ui.dsc | 29 +
external/lgpl3/mpc/dist/tests/mul_fr.dsc | 29 +
external/lgpl3/mpc/dist/tests/mul_i.dsc | 29 +
external/lgpl3/mpc/dist/tests/mul_si.dsc | 29 +
external/lgpl3/mpc/dist/tests/mul_ui.dsc | 29 +
external/lgpl3/mpc/dist/tests/neg.dsc | 28 +
external/lgpl3/mpc/dist/tests/norm.dat | 42 +-
external/lgpl3/mpc/dist/tests/norm.dsc | 29 +
external/lgpl3/mpc/dist/tests/open_datafile.c | 57 +
external/lgpl3/mpc/dist/tests/pow.dat | 3 +
external/lgpl3/mpc/dist/tests/pow.dsc | 30 +
external/lgpl3/mpc/dist/tests/pow_d.dsc | 30 +
external/lgpl3/mpc/dist/tests/pow_fr.dsc | 30 +
external/lgpl3/mpc/dist/tests/pow_si.dsc | 31 +
external/lgpl3/mpc/dist/tests/pow_ui.dsc | 31 +
external/lgpl3/mpc/dist/tests/pow_z.dat | 51 +
external/lgpl3/mpc/dist/tests/pow_z.dsc | 30 +
external/lgpl3/mpc/dist/tests/print_parameter.c | 132 +++
external/lgpl3/mpc/dist/tests/proj.dsc | 28 +
external/lgpl3/mpc/dist/tests/random.c | 126 +++-
external/lgpl3/mpc/dist/tests/read_data.c | 725 +--------------------
external/lgpl3/mpc/dist/tests/read_description.c | 274 +++++++
external/lgpl3/mpc/dist/tests/read_line.c | 249 +++++++
external/lgpl3/mpc/dist/tests/real.dsc | 29 +
external/lgpl3/mpc/dist/tests/rootofunity.dat | 65 +
external/lgpl3/mpc/dist/tests/rootofunity.dsc | 29 +
external/lgpl3/mpc/dist/tests/rounding.c | 189 +++++
external/lgpl3/mpc/dist/tests/setprec_parameters.c | 66 +
external/lgpl3/mpc/dist/tests/sin.dat | 3 +
external/lgpl3/mpc/dist/tests/sin.dsc | 28 +
external/lgpl3/mpc/dist/tests/sin_cos.dsc | 30 +
external/lgpl3/mpc/dist/tests/sinh.dsc | 28 +
external/lgpl3/mpc/dist/tests/sqr.dat | 10 +-
external/lgpl3/mpc/dist/tests/sqr.dsc | 29 +
external/lgpl3/mpc/dist/tests/sqrt.dsc | 29 +
external/lgpl3/mpc/dist/tests/sub.dsc | 30 +
external/lgpl3/mpc/dist/tests/sub_fr.dsc | 30 +
external/lgpl3/mpc/dist/tests/sub_ui.dsc | 31 +
external/lgpl3/mpc/dist/tests/tabs.c | 15 +-
external/lgpl3/mpc/dist/tests/tacos.c | 17 +-
external/lgpl3/mpc/dist/tests/tacosh.c | 17 +-
external/lgpl3/mpc/dist/tests/tadd.c | 23 +-
external/lgpl3/mpc/dist/tests/tadd_fr.c | 19 +-
external/lgpl3/mpc/dist/tests/tadd_si.c | 64 +-
external/lgpl3/mpc/dist/tests/tadd_ui.c | 14 +-
external/lgpl3/mpc/dist/tests/tan.dat | 3 +
external/lgpl3/mpc/dist/tests/tan.dsc | 28 +
external/lgpl3/mpc/dist/tests/tanh.dsc | 28 +
external/lgpl3/mpc/dist/tests/targ.c | 15 +-
external/lgpl3/mpc/dist/tests/tasin.c | 17 +-
external/lgpl3/mpc/dist/tests/tasinh.c | 17 +-
external/lgpl3/mpc/dist/tests/tatan.c | 24 +-
external/lgpl3/mpc/dist/tests/tatanh.c | 17 +-
external/lgpl3/mpc/dist/tests/tcmp_abs.c | 38 +
external/lgpl3/mpc/dist/tests/tconj.c | 17 +-
external/lgpl3/mpc/dist/tests/tcos.c | 27 +-
external/lgpl3/mpc/dist/tests/tcosh.c | 27 +-
external/lgpl3/mpc/dist/tests/tdiv.c | 20 +-
external/lgpl3/mpc/dist/tests/tdiv_2si.c | 13 +-
external/lgpl3/mpc/dist/tests/tdiv_2ui.c | 13 +-
external/lgpl3/mpc/dist/tests/tdiv_fr.c | 19 +-
external/lgpl3/mpc/dist/tests/tdiv_ui.c | 15 +-
external/lgpl3/mpc/dist/tests/texp.c | 17 +-
external/lgpl3/mpc/dist/tests/tfma.c | 26 +-
external/lgpl3/mpc/dist/tests/tfr_div.c | 17 +-
external/lgpl3/mpc/dist/tests/tfr_sub.c | 18 +-
external/lgpl3/mpc/dist/tests/tgeneric.tpl | 335 +++++++++
external/lgpl3/mpc/dist/tests/timag.c | 11 +-
external/lgpl3/mpc/dist/tests/tio_str.c | 8 +-
external/lgpl3/mpc/dist/tests/tlog.c | 18 +-
external/lgpl3/mpc/dist/tests/tlog10.c | 18 +-
external/lgpl3/mpc/dist/tests/tmul.c | 38 +-
external/lgpl3/mpc/dist/tests/tmul_2si.c | 13 +-
external/lgpl3/mpc/dist/tests/tmul_2ui.c | 13 +-
external/lgpl3/mpc/dist/tests/tmul_fr.c | 17 +-
external/lgpl3/mpc/dist/tests/tmul_i.c | 23 +-
external/lgpl3/mpc/dist/tests/tmul_si.c | 12 +-
external/lgpl3/mpc/dist/tests/tmul_ui.c | 13 +-
external/lgpl3/mpc/dist/tests/tneg.c | 16 +-
external/lgpl3/mpc/dist/tests/tnorm.c | 32 +-
external/lgpl3/mpc/dist/tests/tpl_gmp.c | 53 +
external/lgpl3/mpc/dist/tests/tpl_mpc.c | 65 +
external/lgpl3/mpc/dist/tests/tpl_mpfr.c | 158 ++++
external/lgpl3/mpc/dist/tests/tpl_native.c | 127 +++
external/lgpl3/mpc/dist/tests/tpow.c | 22 +-
external/lgpl3/mpc/dist/tests/tpow_d.c | 25 +-
external/lgpl3/mpc/dist/tests/tpow_fr.c | 23 +-
external/lgpl3/mpc/dist/tests/tpow_ld.c | 5 +-
external/lgpl3/mpc/dist/tests/tpow_si.c | 13 +-
external/lgpl3/mpc/dist/tests/tpow_ui.c | 20 +-
external/lgpl3/mpc/dist/tests/tpow_z.c | 67 +-
external/lgpl3/mpc/dist/tests/tproj.c | 17 +-
external/lgpl3/mpc/dist/tests/treal.c | 11 +-
external/lgpl3/mpc/dist/tests/treimref.c | 10 +-
external/lgpl3/mpc/dist/tests/trootofunity.c | 80 ++
external/lgpl3/mpc/dist/tests/tset.c | 28 +-
external/lgpl3/mpc/dist/tests/tsin.c | 17 +-
external/lgpl3/mpc/dist/tests/tsin_cos.c | 11 +-
external/lgpl3/mpc/dist/tests/tsinh.c | 17 +-
external/lgpl3/mpc/dist/tests/tsqr.c | 22 +-
external/lgpl3/mpc/dist/tests/tsqrt.c | 17 +-
external/lgpl3/mpc/dist/tests/tstrtoc.c | 4 +-
external/lgpl3/mpc/dist/tests/tsub.c | 19 +-
external/lgpl3/mpc/dist/tests/tsub_fr.c | 17 +-
external/lgpl3/mpc/dist/tests/tsub_ui.c | 13 +-
external/lgpl3/mpc/dist/tests/ttan.c | 62 +-
external/lgpl3/mpc/dist/tests/ttanh.c | 17 +-
external/lgpl3/mpc/dist/tests/tui_div.c | 21 +-
external/lgpl3/mpc/dist/tests/tui_ui_sub.c | 13 +-
external/lgpl3/mpc/dist/tests/ui_div.dsc | 29 +
external/lgpl3/mpc/dist/tests/ui_ui_sub.dsc | 30 +
external/lgpl3/mpc/dist/tools/Makefile.am | 21 +
external/lgpl3/mpc/dist/tools/Makefile.in | 627 ++++++++++++++++++
external/lgpl3/mpc/dist/tools/bench/Makefile.am | 31 +
external/lgpl3/mpc/dist/tools/bench/Makefile.in | 590 +++++++++++++++++
external/lgpl3/mpc/dist/tools/bench/benchtime.h | 66 +
external/lgpl3/mpc/dist/tools/bench/mpcbench.c | 339 +++++++++
216 files changed, 9483 insertions(+), 2348 deletions(-)
diffs (truncated from 16954 to 300 lines):
diff -r 0bbe7c766b93 -r 054a211c2c0f external/lgpl3/mpc/dist/INSTALL
--- a/external/lgpl3/mpc/dist/INSTALL Tue Sep 04 01:13:50 2018 +0000
+++ b/external/lgpl3/mpc/dist/INSTALL Tue Sep 04 04:28:12 2018 +0000
@@ -1,4 +1,4 @@
-Copyright (C) INRIA 2003, 2005, 2007, 2008, 2009, 2010, 2011, 2012, 2014
+Copyright (C) INRIA 2003, 2005, 2007, 2008, 2009, 2010, 2011, 2012
Copying and distribution of this file, with or without modification,
are permitted in any medium without royalty provided the copyright
@@ -14,13 +14,13 @@
0. You first need to install GMP, the GNU Multiprecision Arithmetic Library,
see <http://gmplib.org/>, and GNU MPFR, see <http://www.mpfr.org>.
- GNU MPC requires GMP version 4.3.2 or later
- and GNU MPFR version 2.4.2 or later.
+ GNU MPC requires GMP version 5.0.0 or later
+ and GNU MPFR version 3.0.0 or later.
1. In the directory of the GNU MPC archive, type
- tar xzf mpc-1.0.3.tar.gz
- cd mpc-1.0.3
+ tar xzf mpc-1.1.0.tar.gz
+ cd mpc-1.1.0
./configure
make
diff -r 0bbe7c766b93 -r 054a211c2c0f external/lgpl3/mpc/dist/Makefile.am
--- a/external/lgpl3/mpc/dist/Makefile.am Tue Sep 04 01:13:50 2018 +0000
+++ b/external/lgpl3/mpc/dist/Makefile.am Tue Sep 04 04:28:12 2018 +0000
@@ -1,6 +1,6 @@
## Makefile.am -- Process this file with automake to produce Makefile.in
##
-## Copyright (C) 2008, 2010, 2011 INRIA
+## Copyright (C) 2008, 2010, 2011, 2012, 2013, 2014 INRIA
##
## This file is part of GNU MPC.
##
@@ -20,10 +20,15 @@
ACLOCAL_AMFLAGS = -I m4
# version number for distribution tarball
-VERSION = @VERSION@@GITVERSION@
+# VERSION = @VERSION@@GITVERSION@ # for development version
+VERSION = @VERSION@
-SUBDIRS = src tests doc
+SUBDIRS = src tests doc tools
EXTRA_HEADERS = src/mpc-log.h
include_HEADERS = src/mpc.h @MPC_LOG_H@
-EXTRA_DIST = doc/fdl-1.3.texi src/mpc-log.h tests/tgeneric.c Makefile.vc
+EXTRA_DIST = doc/fdl-1.3.texi src/mpc-log.h Makefile.vc
+
+bench :
+ cd tools/bench && $(MAKE) $(AM_MAKEFLAGS) bench
+
diff -r 0bbe7c766b93 -r 054a211c2c0f external/lgpl3/mpc/dist/Makefile.in
--- a/external/lgpl3/mpc/dist/Makefile.in Tue Sep 04 01:13:50 2018 +0000
+++ b/external/lgpl3/mpc/dist/Makefile.in Tue Sep 04 04:28:12 2018 +0000
@@ -1,7 +1,7 @@
-# Makefile.in generated by automake 1.15 from Makefile.am.
+# Makefile.in generated by automake 1.15.1 from Makefile.am.
# @configure_input@
-# Copyright (C) 1994-2014 Free Software Foundation, Inc.
+# Copyright (C) 1994-2017 Free Software Foundation, Inc.
# This Makefile.in is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
@@ -309,9 +309,11 @@
SHELL = @SHELL@
STRIP = @STRIP@
VALGRIND = @VALGRIND@
+VALGRIND_OPTS = @VALGRIND_OPTS@
# version number for distribution tarball
-VERSION = @VERSION@@GITVERSION@
+# VERSION = @VERSION@@GITVERSION@ # for development version
+VERSION = @VERSION@
abs_builddir = @abs_builddir@
abs_srcdir = @abs_srcdir@
abs_top_builddir = @abs_top_builddir@
@@ -365,10 +367,10 @@
top_builddir = @top_builddir@
top_srcdir = @top_srcdir@
ACLOCAL_AMFLAGS = -I m4
-SUBDIRS = src tests doc
+SUBDIRS = src tests doc tools
EXTRA_HEADERS = src/mpc-log.h
include_HEADERS = src/mpc.h @MPC_LOG_H@
-EXTRA_DIST = doc/fdl-1.3.texi src/mpc-log.h tests/tgeneric.c Makefile.vc
+EXTRA_DIST = doc/fdl-1.3.texi src/mpc-log.h Makefile.vc
all: config.h
$(MAKE) $(AM_MAKEFLAGS) all-recursive
@@ -623,7 +625,7 @@
! -type d ! -perm -444 -exec $(install_sh) -c -m a+r {} {} \; \
|| chmod -R a+r "$(distdir)"
dist-gzip: distdir
- tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
+ tardir=$(distdir) && $(am__tar) | eval GZIP= gzip $(GZIP_ENV) -c >$(distdir).tar.gz
$(am__post_remove_distdir)
dist-bzip2: distdir
@@ -649,7 +651,7 @@
@echo WARNING: "Support for shar distribution archives is" \
"deprecated." >&2
@echo WARNING: "It will be removed altogether in Automake 2.0" >&2
- shar $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).shar.gz
+ shar $(distdir) | eval GZIP= gzip $(GZIP_ENV) -c >$(distdir).shar.gz
$(am__post_remove_distdir)
dist-zip: distdir
@@ -667,7 +669,7 @@
distcheck: dist
case '$(DIST_ARCHIVES)' in \
*.tar.gz*) \
- GZIP=$(GZIP_ENV) gzip -dc $(distdir).tar.gz | $(am__untar) ;;\
+ eval GZIP= gzip $(GZIP_ENV) -dc $(distdir).tar.gz | $(am__untar) ;;\
*.tar.bz2*) \
bzip2 -dc $(distdir).tar.bz2 | $(am__untar) ;;\
*.tar.lz*) \
@@ -677,7 +679,7 @@
*.tar.Z*) \
uncompress -c $(distdir).tar.Z | $(am__untar) ;;\
*.shar.gz*) \
- GZIP=$(GZIP_ENV) gzip -dc $(distdir).shar.gz | unshar ;;\
+ eval GZIP= gzip $(GZIP_ENV) -dc $(distdir).shar.gz | unshar ;;\
*.zip*) \
unzip $(distdir).zip ;;\
esac
@@ -876,6 +878,9 @@
.PRECIOUS: Makefile
+bench :
+ cd tools/bench && $(MAKE) $(AM_MAKEFLAGS) bench
+
# Tell versions [3.59,3.63) of GNU make to not export all variables.
# Otherwise a system limit (for SysV at least) may be exceeded.
.NOEXPORT:
diff -r 0bbe7c766b93 -r 054a211c2c0f external/lgpl3/mpc/dist/Makefile.vc
--- a/external/lgpl3/mpc/dist/Makefile.vc Tue Sep 04 01:13:50 2018 +0000
+++ b/external/lgpl3/mpc/dist/Makefile.vc Tue Sep 04 04:28:12 2018 +0000
@@ -1,6 +1,6 @@
# Makefile for the MPC library (Windows version).
#
-# Copyright (C) INRIA - CNRS, 2002, 2004, 2005, 2007, 2008, 2009, 2010, 2011, 2012, 2014, 2015
+# Copyright (C) INRIA - CNRS, 2002, 2004, 2005, 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2016, 2017
#
# This file is part of the MPC Library.
#
@@ -50,7 +50,7 @@
CC = cl.exe
CDEFAULTFLAGS=/O2 /GR- /MD /nologo /EHs
-VERSION=1.0.3
+VERSION=1.1.0
######################## do not edit below this line ##########################
@@ -83,9 +83,15 @@
CKERNELFLAGS = $(CDEFAULTFLAGS) $(GMPMUSTBEDLL) $(INCLUDES)
CFLAGS = $(CKERNELFLAGS) /D__MPC_WITHIN_MPC /D_GMP_IEEE_FLOATS /DHAVE_CONFIG_H
-TESTCOMPILE=$(CC) $(CKERNELFLAGS) $(DIRMPCTESTS)\tgeneric.c $(DIRMPCTESTS)\comparisons.c $(DIRMPCTESTS)\read_data.c $(DIRMPCTESTS)\random.c $(DIRMPCTESTS)
+TESTSSOURCES=$(DIRMPCTESTS)\check_data.c $(DIRMPCTESTS)\clear_parameters.c \
+ $(DIRMPCTESTS)\close_datafile.c $(DIRMPCTESTS)\comparisons.c $(DIRMPCTESTS)\copy_parameter.c $(DIRMPCTESTS)\double_rounding.c \
+ $(DIRMPCTESTS)\init_parameters.c $(DIRMPCTESTS)\mpfr_flags.c $(DIRMPCTESTS)\open_datafile.c $(DIRMPCTESTS)\print_parameter.c \
+ $(DIRMPCTESTS)\random.c $(DIRMPCTESTS)\read_data.c $(DIRMPCTESTS)\read_description.c $(DIRMPCTESTS)\read_line.c $(DIRMPCTESTS)\rounding.c \
+ $(DIRMPCTESTS)\setprec_parameters.c $(DIRMPCTESTS)\tpl_gmp.c $(DIRMPCTESTS)\tpl_mpc.c $(DIRMPCTESTS)\tpl_mpfr.c $(DIRMPCTESTS)\tpl_native.c
+
+TESTCOMPILE=$(CC) $(CKERNELFLAGS) $(TESTSSOURCES) $(DIRMPCTESTS)
MIDTESTCOMPILE=/link /out:$(DIRMPCTESTS)
-ENDTESTCOMPILE=/LIBPATH:"$(GMPDIR)\lib" libmpc.lib libmpfr.lib libgmp.lib $(LIBS_LOGGING)
+ENDTESTCOMPILE=/LIBPATH:"$(DIRMPCTESTS)" libmpc.lib /LIBPATH:"$(GMPDIR)\lib" libmpfr.lib libgmp.lib $(LIBS_LOGGING)
#generate the CPPOBJECTS : goto src and execute
@@ -93,7 +99,7 @@
#generate the CPPLINKOBJECTS : goto src and execute
# ls *.c | sed "s/\.c/\.obj/" | awk ' { printf("%s \\\n",$1); } '
#generate the list for tests : goto tests and execute
-# ls t*.c | sed "s/\.c//" | grep -v tgeneric| grep -v comparisons | grep -v read_data | grep -v random | awk ' { printf("\t$(TESTCOMPILE)%s.c $(MIDTESTCOMPILE)%s.exe $(ENDTESTCOMPILE)\n\tcd
$(DIRMPCTESTS) && %s.exe && cd ..\n",$1,$1,$1,$1); } '
+# ls t*.c | sed "s/\.c//" | grep -v comparisons | grep -v read_data | grep -v random | awk ' { printf("\t$(TESTCOMPILE)%s.c $(MIDTESTCOMPILE)%s.exe $(ENDTESTCOMPILE)\n\tcd $(DIRMPCTESTS) && %s.exe
&& cd ..\n",$1,$1,$1,$1); } '
LIBRARYLIB = libmpc.lib
@@ -111,6 +117,7 @@
$(DIRMPC)\atanh.obj \
$(DIRMPC)\clear.obj \
$(DIRMPC)\cmp.obj \
+$(DIRMPC)\cmp_abs.obj \
$(DIRMPC)\cmp_si_si.obj \
$(DIRMPC)\conj.obj \
$(DIRMPC)\cos.obj \
@@ -152,6 +159,7 @@
$(DIRMPC)\pow_z.obj \
$(DIRMPC)\proj.obj \
$(DIRMPC)\real.obj \
+$(DIRMPC)\rootofunity.obj \
$(DIRMPC)\set.obj \
$(DIRMPC)\set_prec.obj \
$(DIRMPC)\set_str.obj \
@@ -188,6 +196,7 @@
atanh.obj \
clear.obj \
cmp.obj \
+cmp_abs.obj \
cmp_si_si.obj \
conj.obj \
cos.obj \
@@ -229,6 +238,7 @@
pow_z.obj \
proj.obj \
real.obj \
+rootofunity.obj \
set.obj \
set_prec.obj \
set_str.obj \
@@ -321,6 +331,8 @@
cd $(DIRMPCTESTS) && tatan.exe && cd ..
$(TESTCOMPILE)tatanh.c $(MIDTESTCOMPILE)tatanh.exe $(ENDTESTCOMPILE)
cd $(DIRMPCTESTS) && tatanh.exe && cd ..
+ $(TESTCOMPILE)tcmp_abs.c $(MIDTESTCOMPILE)tcmp_abs.exe $(ENDTESTCOMPILE)
+ cd $(DIRMPCTESTS) && tcmp_abs.exe && cd ..
$(TESTCOMPILE)tconj.c $(MIDTESTCOMPILE)tconj.exe $(ENDTESTCOMPILE)
cd $(DIRMPCTESTS) && tconj.exe && cd ..
$(TESTCOMPILE)tcos.c $(MIDTESTCOMPILE)tcos.exe $(ENDTESTCOMPILE)
@@ -355,6 +367,8 @@
cd $(DIRMPCTESTS) && tlog10.exe && cd ..
$(TESTCOMPILE)tmul.c $(MIDTESTCOMPILE)tmul.exe $(ENDTESTCOMPILE)
cd $(DIRMPCTESTS) && tmul.exe && cd ..
+ $(TESTCOMPILE)tmul_2si.c $(MIDTESTCOMPILE)tmul_2si.exe $(ENDTESTCOMPILE)
+ cd $(DIRMPCTESTS) && tmul_2si.exe && cd ..
$(TESTCOMPILE)tmul_2ui.c $(MIDTESTCOMPILE)tmul_2ui.exe $(ENDTESTCOMPILE)
cd $(DIRMPCTESTS) && tmul_2ui.exe && cd ..
$(TESTCOMPILE)tmul_fr.c $(MIDTESTCOMPILE)tmul_fr.exe $(ENDTESTCOMPILE)
@@ -391,6 +405,8 @@
cd $(DIRMPCTESTS) && treal.exe && cd ..
$(TESTCOMPILE)treimref.c $(MIDTESTCOMPILE)treimref.exe $(ENDTESTCOMPILE)
cd $(DIRMPCTESTS) && treimref.exe && cd ..
+ $(TESTCOMPILE)trootofunity.c $(MIDTESTCOMPILE)trootofunity.exe $(ENDTESTCOMPILE)
+ cd $(DIRMPCTESTS) && trootofunity.exe && cd ..
$(TESTCOMPILE)tset.c $(MIDTESTCOMPILE)tset.exe $(ENDTESTCOMPILE)
cd $(DIRMPCTESTS) && tset.exe && cd ..
$(TESTCOMPILE)tsin.c $(MIDTESTCOMPILE)tsin.exe $(ENDTESTCOMPILE)
diff -r 0bbe7c766b93 -r 054a211c2c0f external/lgpl3/mpc/dist/NEWS
--- a/external/lgpl3/mpc/dist/NEWS Tue Sep 04 01:13:50 2018 +0000
+++ b/external/lgpl3/mpc/dist/NEWS Tue Sep 04 04:28:12 2018 +0000
@@ -1,3 +1,17 @@
+Changes in version 1.1.0:
+ - 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
+ - Improved speed for corner cases of mpc_asin, mpc_sin, see
+ http://lists.gforge.inria.fr/pipermail/mpc-discuss/2013-December/001266.html
+ - Rewrite of the testing framework
+ - New mpcbench tool, used with "make bench"
+ - Fixed handling of over- and underflows with directed rounding in the
+ "other direction" for mpc_cos, mpc_sin, mpc_exp and mpc_pow, see
+ http://lists.gforge.inria.fr/pipermail/mpc-discuss/2015-March/001336.html
+ - 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:
- Fixed mpc_pow, see
http://lists.gforge.inria.fr/pipermail/mpc-discuss/2014-October/001315.html
@@ -151,7 +165,7 @@
- mpc_sqrt with directed rounding
-Copyright (C) 2008, 2009, 2010, 2011, 2012 INRIA
+Copyright (C) 2008, 2009, 2010, 2011, 2012, 2013, 2014 INRIA
Copying and distribution of this file, with or without modification,
are permitted in any medium without royalty provided the copyright
diff -r 0bbe7c766b93 -r 054a211c2c0f external/lgpl3/mpc/dist/TODO
--- a/external/lgpl3/mpc/dist/TODO Tue Sep 04 01:13:50 2018 +0000
+++ b/external/lgpl3/mpc/dist/TODO Tue Sep 04 04:28:12 2018 +0000
@@ -1,20 +1,69 @@
+From Andreas Enge 22 July 2016:
+Now that mpfr-3 is the minimum version requirement, support the
+MPFR_RNDA rounding mode.
+
+From Joseph Myers 12 Apr 2015:
+http://lists.gforge.inria.fr/pipermail/mpc-discuss/2015-April/001347.html
+Try implementing tan z = (sin 2x + i sinh 2y) / (cos 2x + cosh 2y) or
+(sin(x)*cos(x) + i*sinh(y)*cosh(y))/(cos(x)^2 + sinh(y)^2) as in glibc.
+
+From Karim Belabas 9 Jan 2014:
+Implement Hurwitz(s,x) -> gives Zeta for x=1.
+Cf http://arxiv.org/abs/1309.2877
+
+From Andreas Enge 27 August 2012:
+Implement im(atan(x+i*y)) as
+1/4 * [log1p (4y / (x^2 +(1-y)^2))]
+(see http://lists.gforge.inria.fr/pipermail/mpc-discuss/2012-August/001196.html)
+
Home |
Main Index |
Thread Index |
Old Index