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.2diff -r1.1.1.1 -r1.2 pkgsrc/math/mpcomplex/Makefile
(asau)
@@ -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 | |||
3 | DISTNAME= mpc-0.8.2 | 3 | DISTNAME= mpc-0.9 | |
4 | PKGNAME= mpcomplex-0.8.2 | 4 | PKGNAME= mpcomplex-0.9 | |
5 | CATEGORIES= math | 5 | CATEGORIES= math | |
6 | MASTER_SITES= http://www.multiprecision.org/mpc/download/ | 6 | MASTER_SITES= http://www.multiprecision.org/mpc/download/ | |
7 | 7 | |||
8 | MAINTAINER= MarkoSchuetz@web.de | 8 | MAINTAINER= MarkoSchuetz@web.de | |
9 | HOMEPAGE= http://www.multiprecision.org/mpc/ | 9 | HOMEPAGE= http://www.multiprecision.org/mpc/ | |
10 | COMMENT= Multiprecision complex arithmetic library | 10 | COMMENT= Multiprecision complex arithmetic library | |
11 | LICENSE= gnu-lgpl-v2.1 | 11 | LICENSE= gnu-lgpl-v2.1 | |
12 | 12 | |||
13 | PKG_DESTDIR_SUPPORT= user-destdir | 13 | PKG_DESTDIR_SUPPORT= user-destdir | |
14 | 14 | |||
15 | GNU_CONFIGURE= yes | 15 | GNU_CONFIGURE= yes | |
16 | USE_LIBTOOL= yes | 16 | USE_LIBTOOL= yes | |
17 | INFO_FILES= yes | 17 | INFO_FILES= yes |
@@ -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 | |||
3 | SHA1 (mpc-0.8.2.tar.gz) = 339550cedfb013b68749cd47250cd26163b9edd4 | 3 | SHA1 (mpc-0.9.tar.gz) = 229722d553030734d49731844abfef7617b64f1a | |
4 | RMD160 (mpc-0.8.2.tar.gz) = 3238da25077acee35423c7bd820806f537784114 | 4 | RMD160 (mpc-0.9.tar.gz) = 63d5fb8ab2725839e7565716c4d20187b606e2c8 | |
5 | Size (mpc-0.8.2.tar.gz) = 548401 bytes | 5 | Size (mpc-0.9.tar.gz) = 565953 bytes |