diff options
author | asau <asau@pkgsrc.org> | 2011-03-09 18:59:46 +0000 |
---|---|---|
committer | asau <asau@pkgsrc.org> | 2011-03-09 18:59:46 +0000 |
commit | b3429da8f478ff3f74eabd7164cc1979b578087c (patch) | |
tree | 3651ca07feb5f6852de95bbacf60e55cacadb32e /math/mpcomplex | |
parent | e95a7fab85b898d09603e2f66cf864e5b51e78d8 (diff) | |
download | pkgsrc-b3429da8f478ff3f74eabd7164cc1979b578087c.tar.gz |
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
Diffstat (limited to 'math/mpcomplex')
-rw-r--r-- | math/mpcomplex/Makefile | 6 | ||||
-rw-r--r-- | math/mpcomplex/distinfo | 8 |
2 files changed, 7 insertions, 7 deletions
diff --git a/math/mpcomplex/Makefile b/math/mpcomplex/Makefile index 658a8038836..d78d255ad29 100644 --- a/math/mpcomplex/Makefile +++ b/math/mpcomplex/Makefile @@ -1,7 +1,7 @@ -# $NetBSD: Makefile,v 1.1.1.1 2010/07/27 17:09:45 asau Exp $ +# $NetBSD: Makefile,v 1.2 2011/03/09 18:59:46 asau Exp $ -DISTNAME= mpc-0.8.2 -PKGNAME= mpcomplex-0.8.2 +DISTNAME= mpc-0.9 +PKGNAME= mpcomplex-0.9 CATEGORIES= math MASTER_SITES= http://www.multiprecision.org/mpc/download/ diff --git a/math/mpcomplex/distinfo b/math/mpcomplex/distinfo index cde4891a2b4..2e706a93ea3 100644 --- a/math/mpcomplex/distinfo +++ b/math/mpcomplex/distinfo @@ -1,5 +1,5 @@ -$NetBSD: distinfo,v 1.1.1.1 2010/07/27 17:09:45 asau Exp $ +$NetBSD: distinfo,v 1.2 2011/03/09 18:59:46 asau Exp $ -SHA1 (mpc-0.8.2.tar.gz) = 339550cedfb013b68749cd47250cd26163b9edd4 -RMD160 (mpc-0.8.2.tar.gz) = 3238da25077acee35423c7bd820806f537784114 -Size (mpc-0.8.2.tar.gz) = 548401 bytes +SHA1 (mpc-0.9.tar.gz) = 229722d553030734d49731844abfef7617b64f1a +RMD160 (mpc-0.9.tar.gz) = 63d5fb8ab2725839e7565716c4d20187b606e2c8 +Size (mpc-0.9.tar.gz) = 565953 bytes |