Commit graph

18 commits

Author SHA1 Message Date
Gerald Pfeifer
d0e8d1ce93 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.
2014-01-20 19:07:29 +00:00
Gerald Pfeifer
3be3e90f93 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
 - 0^0, which returned (NaN,NaN) previously, now returns (1,+0).
 - Removed compatibility with K&R compilers, which was untestable due
   to lack of such compilers.
 - New functions
   . mpc_log10
   . mpc_mul_2si, mpc_div_2si
 - Speed-ups
   . mpc_fma
 - Bug fixes
   . mpc_div and mpc_norm now return a value indicating the effective
     rounding direction, as the other functions.
   . mpc_mul, mpc_sqr and mpc_norm now return correct results even if
     there are over- or underflows during the computation.
   . mpc_asin, mpc_proj, mpc_sqr: Wrong result when input variable has
     infinite part and equals output variable is corrected.
   . mpc_fr_sub: Wrong return value for imaginary part is corrected.

Convert to the new LIB_DEPENDS standard and remove hard-coded
.so versions from a couple of dependent ports.

Bump PORTREVISIONS of all dependent ports.

PR:		183141
Approved by:	portmgr (bdrewery)
2013-10-26 00:52:33 +00:00
Baptiste Daroussin
ce5e457020 Add NO_STAGE all over the place in preparation for the staging support (cat: math) 2013-09-20 20:55:04 +00:00
Gerald Pfeifer
dce904a447 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]
2012-08-05 22:28:43 +00:00
Martin Wilke
e1c6649edf - Remove WITH_FBSD10_FIX, is no longer needed 2011-11-09 15:26:04 +00:00
Martin Wilke
3d7e506643 - Fix build on FreeBSD 10
Reported by:	pointyhat
2011-10-29 07:20:16 +00:00
Gerald Pfeifer
0a9ef43ed3 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"
2011-02-21 20:06:58 +00:00
Gerald Pfeifer
7a9925a944 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
2010-06-20 22:54:24 +00:00
Alex Dupre
8cbf48bd4b Chase mpfr library and bump PORTREVISION. 2010-06-11 15:09:45 +00:00
Alex Dupre
bf330a57d4 Switch to use newer GMP version.
PR:		ports/144487
Submitted by:	ale
Approved by:	portmgr (-exp run by erwin)
2010-04-19 10:43:42 +00:00
Gerald Pfeifer
e9eaf46f2c 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
2009-12-21 08:01:15 +00:00
Gerald Pfeifer
7a1323ac4b 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
2009-11-06 10:53:36 +00:00
Gerald Pfeifer
8ce48c97da Assume maintainership. Thanks to Wen Heping for getting this port started!
Approved by:	maintainer (wen)
2009-11-01 17:56:52 +00:00
Gerald Pfeifer
a08f423c8c Replace pkg-plist by a PLIST_FILES in Makefile.
Approved by:	maintainer (wen heping)
2009-10-11 07:51:06 +00:00
Gerald Pfeifer
2d00b0167b 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
2009-09-26 11:41:28 +00:00
Erwin Lansing
1e268ba7dd Explicitly set LATEST_LINK to not clash with audio/mpc 2009-06-11 15:18:09 +00:00
Pav Lucistnik
1ebd8b8869 - Chase math/libgmp4 shlib bump
Reported by:	pointyhat
Pointy hat to:	ale
2009-05-14 11:53:13 +00:00
Martin Wilke
fca026d60c 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>
2009-04-11 08:16:27 +00:00