Port details |
- mpc Library of complex numbers with arbitrarily high precision
- 1.3.1_1 math =30 1.3.1_1Version of this port present on the latest quarterly branch.
- Maintainer: gerald@FreeBSD.org
- Port Added: 2009-04-11 08:16:58
- Last Update: 2023-04-23 09:09:58
- Commit Hash: 8d3e020
- People watching this port, also watch:: glib, libxml2, freetype2, expat, libSM
- Also Listed In: devel
- License: LGPL3+
- WWW:
- https://www.multiprecision.org/mpc/
- Description:
- Mpc is a C library for the arithmetic of complex numbers with
arbitrarily high precision and correct rounding of the result.
It is built upon and follows the same principles as Mpfr. The
library is written by Andreas Enge, Philippe Theveny and Paul
Zimmermann and is distributed under the Gnu Lesser General Public
License, either version 2.1 of the license, or (at your option)
any later version. The Mpc library has been registered in France
by the Agence pour la Protection des Programmes on 2003-02-05
under the number IDDN FR 001 060029 000 R P 2003 000 10000.
- ¦ ¦ ¦ ¦
- Manual pages:
- FreshPorts has no man page information for this port.
- pkg-plist: as obtained via:
make generate-plist - Dependency lines:
-
- To install the port:
- cd /usr/ports/math/mpc/ && make install clean
- To add the package, run one of these commands:
- pkg install math/mpc
- pkg install mpc
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.- PKGNAME: mpc
- Flavors: there is no flavor information for this port.
- distinfo:
- TIMESTAMP = 1679993201
SHA256 (mpc-1.3.1.tar.gz) = ab642492f5cf882b74aa0cb730cd410a81edcdbec895183ce930e706c1c759b8
SIZE (mpc-1.3.1.tar.gz) = 773573
Packages (timestamps in pop-ups are UTC):
- Dependencies
- NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
- Runtime dependencies:
-
- indexinfo : print/indexinfo
- Library dependencies:
-
- libgmp.so : math/gmp
- libmpfr.so : math/mpfr
- This port is required by:
- for Libraries
-
- devel/aarch64-none-elf-gcc
- devel/arm-none-eabi-gcc
- devel/avr-gcc
- devel/freebsd-gcc12
- devel/freebsd-gcc13
- devel/freebsd-gcc14
- devel/gcc-msp430-ti-toolchain
-
Deleted ports which required this port:
- * - deleted ports are only shown under the This port is required by section. It was harder to do for the Required section. Perhaps later...
Configuration Options:
- No options to configure
- Options name:
- math_mpc
- USES:
- libtool
- FreshPorts was unable to extract/find any pkg message
- Master Sites:
|
Commit History - (may be incomplete: for full details, see links to repositories near top of page) |
Commit | Credits | Log message |
1.3.1_1 23 Apr 2023 09:09:58 |
Gerald Pfeifer (gerald) |
*: Bump PORTREVISIONs for math/mpc update to 1.3.1 |
1.3.1 23 Apr 2023 08:43:37 |
Gerald Pfeifer (gerald) |
math/mpc: Update to version 1.3.1
Update to MPC version 1.3.1 with the following changes:
- New function: mpc_agm
- New rounding modes "away from zero", indicated by the letter "A"
and corresponding to MPFR_RNDA on the designated real or imaginary part.
- New experimental ball arithmetic.
- New experimental function: mpc_eta_fund
- Bug fixes:
. mpc_asin for asin(z) with small |Re(z)| and tiny |Im(z)|
. mpc_pow_fr: sign of zero part of result when the base has up to
sign the same real and imaginary part, and the exponent is an even
positive integer
. mpc_fma: the returned int value was incorrect in some cases
(indicating whether the rounded real/imaginary parts were
smaller/equal/greater than the exact values), but the computed
complex value was correct. |
1.2.1 25 Oct 2022 09:22:01 |
Yuri Victorovich (yuri) |
math/mpc: Correct WWW |
07 Sep 2022 21:58:51 |
Stefan Eßer (se) |
Remove WWW entries moved into port Makefiles
Commit b7f05445c00f has added WWW entries to port Makefiles based on
WWW: lines in pkg-descr files.
This commit removes the WWW: lines of moved-over URLs from these
pkg-descr files.
Approved by: portmgr (tcberner) |
1.2.1 07 Sep 2022 21:10:59 |
Stefan Eßer (se) |
Add WWW entries to port Makefiles
It has been common practice to have one or more URLs at the end of the
ports' pkg-descr files, one per line and prefixed with "WWW:". These
URLs should point at a project website or other relevant resources.
Access to these URLs required processing of the pkg-descr files, and
they have often become stale over time. If more than one such URL was
present in a pkg-descr file, only the first one was tarnsfered into
the port INDEX, but for many ports only the last line did contain the
port specific URL to further information.
There have been several proposals to make a project URL available as
a macro in the ports' Makefiles, over time.
(Only the first 15 lines of the commit message are shown above ) |
1.2.1 20 Jul 2022 14:22:24 |
Tobias C. Berner (tcberner) |
math: remove 'Created by' lines
A big Thank You to the original contributors of these ports:
* Aaron Dalton <aaron@FreeBSD.org>
* Aaron Dalton <aaron@daltons.ca>
* Alessando Sagratini <ale_sagra@hotmail.com>
* Alex Dupre <ale@FreeBSD.org>
* Alexey Dokuchaev <danfe@FreeBSD.org>
* Amarendra Godbole <amarendra.godbole@gmail.com>
* Anders Nordby <anders@FreeBSD.org>
* Andreas Fehlner (fehlner@gmx.de)
* Andrew L. Neporada <andrew@chg.ru>
* Andrey <gugu@zoo.rambler.ru>
* Andrey Zakhvatov (Only the first 15 lines of the commit message are shown above ) |
1.2.1 12 Sep 2021 04:27:56 |
Gerald Pfeifer (gerald) |
math/mpc: Update to MPC 1.2.1
MPC 1.2.1 only fixes two bugs:
- an intermediate overflow in asin,
- an incompatibility problem with GMP 6.0 and before (where we have
a newer version in the tree since 2017).
PR: 254413 |
1.2.0 06 Apr 2021 14:31:07 |
Mathieu Arnold (mat) |
Remove # $FreeBSD$ from Makefiles. |
1.2.0 21 Mar 2021 09:57:05 |
gerald |
Update to MPC version 1.2.0 with the following changes:
- 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 mpcheck tool for comparison with the native C library (which
is not installed by default).
Bump all directly dependent ports. Do not bump those indirectly
dependent via the lang/gcc* family since their run-time dependencies
and code generated should not be affected.
PR: 249950
Submitted by: wen |
1.1.0_2 10 Nov 2018 18:12:58 |
bapt |
Install texinfo files (GNU info) into ${PREFIX}/share/info
After a discussion on the mailing list on moving manpages to
${PREFIX}/share/man for consistency with base where it is
installed in usr/share/man, it appeared the same should happen
to GNU info files which were installed under share in base and
not in ports.
Now texinfo is not in base on any of the supported version of FreeBSD
it is possible to proceed to this move and it is easier to do than
the manpage change.
Other benefit than consistency are less patching: all build tools but
cmake are expecting info files to be under share/info and cmake (patched here)
was having an exception for BSD so the patch makes FreeBSD case less
specific for them
Bump revision of all impacted ports
PR: 232907
exp-run by: antoine
Differential Revision: https://reviews.freebsd.org/D17816 |
1.1.0_1 24 May 2018 09:04:14 |
amdmi3 |
- Add LICENSE
- Switch to new test framework
Approved by: portmgr blanket |
1.1.0_1 19 Apr 2018 07:08:45 |
ale |
Update mpfr to 4.0.1 release and bump PORTVERSION of dependent ports. |
1.1.0 10 Mar 2018 17:24:34 |
gerald |
Update to libmcp version 1.1.0 which brings the following changes:
- New functions:
. mpc_cmp_abs
. mpc_rootofunity
- Rewrite of the testing framework and a new mpcbench tool, used with
`make bench`.
- Bug fixes and improvements of existing functions:
. Fixed compilation with mpfr 4.0.0.
. Fixed handling of over- and underflows with directed rounding in the
"other direction" for mpc_cos, mpc_sin, mpc_exp and mpc_pow
. Fixed a bug in mpc_atan(0,y) with |y| near 1.
- Minimally required dependencies are now gmp 5.0.0 and mpfr 3.0.0
(way below what the standard Ports Collection provides).
PR: 225968
Tested by: antoine (exp-run) |
1.0.3 28 Jan 2018 13:01:03 |
gerald |
MASTER_SITES=GNU is sufficient, no need for MASTER_SITES=GNU/${PORTNAME}.
Reported by: sunpoet |
1.0.3 28 Jan 2018 10:19:12 |
gerald |
The upstream MPC project now uses GNU as their primary distribution
network, so adjust MASTER_SITES on our end. And remove a special
PORTSCOUT setting, which silently stopped working.
Since I fully tested this, this commit also adds a TIMESTAMP to
distinfo (but no other change). |
1.0.3 01 Apr 2016 14:16:20 |
mat |
Remove ${PORTSDIR}/ from dependencies, categories m, n, o, and p.
With hat: portmgr
Sponsored by: Absolight |
1.0.3 05 Apr 2015 18:36:10 |
gerald |
Update to MPC version 1.0.3 which brings two changes:
- Fixed mpc_pow, see
http://lists.gforge.inria.fr/pipermail/mpc-discuss/2014-October/001315.html
- Switched to libtool 2.4.5.
No PORTREVISION bump of dependent ports since this is really a minor
change and transparent for users that link dynamically. |
1.0.2_1 01 Sep 2014 09:30:33 |
tijl |
- Add USES=libtool and INSTALL_TARGET=install-strip
- Use MAKE_CMD |
1.0.2 20 Jan 2014 19:07:29 |
gerald |
Update to version 1.0.2 which brings two bug fixes:
- 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
Remove now unnecessary LATEST_LINK. |
1.0.1 26 Oct 2013 00:52:36 |
gerald |
Update to libmpc version 1.0.1 which brings the following fixes:
- Switched to automake 1.11.6, see CVE-2012-3386.
- #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.
This is on top of the following changes from version 1.0
- Licence change towards LGPLv3+ for the code and GFDLv1.3+ (with no
invariant sections) for the documentation.
- 100% of all lines are covered by tests
- Renamed functions
. mpc_mul_2exp to mpc_mul_2ui
. mpc_div_2exp to mpc_div_2ui (Only the first 15 lines of the commit message are shown above ) |
0.9 20 Sep 2013 20:55:06 |
bapt |
Add NO_STAGE all over the place in preparation for the staging support (cat:
math) |
0.9 05 Aug 2012 22:28:43 |
gerald |
Advise PORTSCOUT not to run into a false positive due to the
server providing arbitrary redirects. [1]
Remove ABI version numbers for library dependencies.
Submitted by: shaun [1] |
0.9 09 Nov 2011 15:26:04 |
miwi |
- Remove WITH_FBSD10_FIX, is no longer needed |
0.9 29 Oct 2011 07:20:16 |
miwi |
- Fix build on FreeBSD 10
Reported by: pointyhat |
0.9 21 Feb 2011 20:06:58 |
gerald |
Update to libmpc version 0.9 which brings the following changes:
- 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
or long double _Complex
. mpc_sin_cos, computing simultaneously the sine and cosine
- Speed-ups:
. mpc_pow_si through binary exponentiation
. mpc_pow_z when the exponent fits in a long
. mpc_tan through the use of mpc_sin_cos
- Bug fixes:
. trigonometric functions: infinite loop due to overflow for large
arguments
. exp: close to infinite loop for argument close to 0
. sqrt: close to infinite loop for argument close to 1
. add_si: replaced macro by function, since the macro evaluated the
same expression twice
- Logging feature for debugging:
./configure --enable-logging
#include "mpc-log.h" instead of #include "mpc.h" |
0.8.2 20 Jun 2010 22:54:24 |
gerald |
Update to libmpc version 0.8.2 which brings a speed-up of mpc_pow_ui
through binary exponentiation and fixes the testsuite for mpfr 3.0.0.
Suggested by: Gunther Nikl <gnikl@users.sourceforge.net>
Feature safe: yes |
0.8.2 20 Jun 2010 22:52:13 |
gerald |
Update to libmpc version 0.8.2 which brings a speed-up of mpc_pow_ui
through binary exponentiation and fixes the testsuite for mpfr 3.0.0.
Suggested by: Gunther Nikl <gnikl@users.sourceforge.net>
Feature safe: yes |
0.8.1_2 11 Jun 2010 15:09:45 |
ale |
Chase mpfr library and bump PORTREVISION. |
0.8.1_1 19 Apr 2010 10:43:43 |
ale |
Switch to use newer GMP version.
PR: ports/144487
Submitted by: ale
Approved by: portmgr (-exp run by erwin) |
0.8.1 21 Dec 2009 08:01:15 |
gerald |
Update to libmpc version 0.8.1 which brings the following changes:
- Bug fixes:
. acosh, asinh, atanh: swap of precisions between real and imaginary parts
. atan: memory leak
. log: wrong ternary value in data file; masked by bug in Mpfr 2.4.1
PR: 141825
Submitted by: bf1783@gmail.com |
0.8 06 Nov 2009 10:53:36 |
gerald |
Update to libmpc version 0.8 which brings the following changes:
- New functions:
. Inverse trigonometric functions: mpc_asin, mpc_acos, mpc_atan,
mpc_asinh, mpc_acosh, mpc_atanh
. Power functions: mpc_pow_d, mpc_pow_ld, mpc_pow_si, mpc_pow_ui,
mpc_pow_z, mpc_pow_fr
- Bug fixes:
. ui_div: real divisor |
0.7 01 Nov 2009 17:56:52 |
gerald |
Assume maintainership. Thanks to Wen Heping for getting this port started!
Approved by: maintainer (wen) |
0.7 11 Oct 2009 07:51:06 |
gerald |
Replace pkg-plist by a PLIST_FILES in Makefile.
Approved by: maintainer (wen heping) |
0.7 26 Sep 2009 11:41:28 |
gerald |
Update to libmpc version 0.7 which brings the following changes:
- New functions: mpc_pow, mpc_set_nan, mpc_swap
- Bug fixes:
. log: along branch cut
. norm: infinite loop in case of overflow
. ui_div, div, fr_div: handling of division by 0 and infinities
following the example code of the C99 standard
. compilation with g++
- Makefile.vc updated (thanks to Mickael Gastineau)
- Changed MPC_SET_X_Y macro
- Removed functions mpc_random and mpc_random2 (which no port uses)
Approved by: maintainer (wen heping)
Feature safe: yes |
0.6_1 11 Jun 2009 15:18:09 |
erwin |
Explicitly set LATEST_LINK to not clash with audio/mpc |
0.6_1 14 May 2009 11:53:13 |
pav |
- Chase math/libgmp4 shlib bump
Reported by: pointyhat
Pointy hat to: ale |
0.6 11 Apr 2009 08:16:27 |
miwi |
Mpc is a C library for the arithmetic of complex numbers with
arbitrarily high precision and correct rounding of the result.
It is built upon and follows the same principles as Mpfr. The
library is written by Andreas Enge, Philippe Theveny and Paul
Zimmermann and is distributed under the Gnu Lesser General Public
License, either version 2.1 of the license, or (at your option)
any later version. The Mpc library has been registered in France
by the Agence pour la Protection des Programmes on 2003-02-05
under the number IDDN FR 001 060029 000 R P 2003 000 10000.
WWW: http://www.multiprecision.org/
PR: ports/133395
Submitted by: Wen Heping <wenheping at gmail.com> |