Wed Mar 9 18:59:46 2011 UTC ()
Update to mpc-0.9
Prompted by Stathis Kamperis.

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"
  * Minimally required library versions: gmp 4.3.2, mpfr 2.4.2


(asau)
diff -r1.1.1.1 -r1.2 pkgsrc/math/mpcomplex/Makefile
diff -r1.1.1.1 -r1.2 pkgsrc/math/mpcomplex/distinfo

cvs diff -r1.1.1.1 -r1.2 pkgsrc/math/mpcomplex/Makefile (expand / switch to unified diff)

--- pkgsrc/math/mpcomplex/Makefile 2010/07/27 17:09:45 1.1.1.1
+++ pkgsrc/math/mpcomplex/Makefile 2011/03/09 18:59:46 1.2
@@ -1,17 +1,17 @@ @@ -1,17 +1,17 @@
1# $NetBSD: Makefile,v 1.1.1.1 2010/07/27 17:09:45 asau Exp $ 1# $NetBSD: Makefile,v 1.2 2011/03/09 18:59:46 asau Exp $
2 2
3DISTNAME= mpc-0.8.2 3DISTNAME= mpc-0.9
4PKGNAME= mpcomplex-0.8.2 4PKGNAME= mpcomplex-0.9
5CATEGORIES= math 5CATEGORIES= math
6MASTER_SITES= http://www.multiprecision.org/mpc/download/ 6MASTER_SITES= http://www.multiprecision.org/mpc/download/
7 7
8MAINTAINER= MarkoSchuetz@web.de 8MAINTAINER= MarkoSchuetz@web.de
9HOMEPAGE= http://www.multiprecision.org/mpc/ 9HOMEPAGE= http://www.multiprecision.org/mpc/
10COMMENT= Multiprecision complex arithmetic library 10COMMENT= Multiprecision complex arithmetic library
11LICENSE= gnu-lgpl-v2.1 11LICENSE= gnu-lgpl-v2.1
12 12
13PKG_DESTDIR_SUPPORT= user-destdir 13PKG_DESTDIR_SUPPORT= user-destdir
14 14
15GNU_CONFIGURE= yes 15GNU_CONFIGURE= yes
16USE_LIBTOOL= yes 16USE_LIBTOOL= yes
17INFO_FILES= yes 17INFO_FILES= yes

cvs diff -r1.1.1.1 -r1.2 pkgsrc/math/mpcomplex/distinfo (expand / switch to unified diff)

--- pkgsrc/math/mpcomplex/distinfo 2010/07/27 17:09:45 1.1.1.1
+++ pkgsrc/math/mpcomplex/distinfo 2011/03/09 18:59:46 1.2
@@ -1,5 +1,5 @@ @@ -1,5 +1,5 @@
1$NetBSD: distinfo,v 1.1.1.1 2010/07/27 17:09:45 asau Exp $ 1$NetBSD: distinfo,v 1.2 2011/03/09 18:59:46 asau Exp $
2 2
3SHA1 (mpc-0.8.2.tar.gz) = 339550cedfb013b68749cd47250cd26163b9edd4 3SHA1 (mpc-0.9.tar.gz) = 229722d553030734d49731844abfef7617b64f1a
4RMD160 (mpc-0.8.2.tar.gz) = 3238da25077acee35423c7bd820806f537784114 4RMD160 (mpc-0.9.tar.gz) = 63d5fb8ab2725839e7565716c4d20187b606e2c8
5Size (mpc-0.8.2.tar.gz) = 548401 bytes 5Size (mpc-0.9.tar.gz) = 565953 bytes