diff options
author | Gerald Pfeifer <gerald@FreeBSD.org> | 2011-02-21 20:06:58 +0000 |
---|---|---|
committer | Gerald Pfeifer <gerald@FreeBSD.org> | 2011-02-21 20:06:58 +0000 |
commit | 0a9ef43ed3e756ea384029fe8c6273023b7ad78e (patch) | |
tree | 9d0e79f1393bedf84c212ee46f9f95bc7a4a8043 /math | |
parent | - Update to 2.11.6 (diff) |
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"
Notes
Notes:
svn path=/head/; revision=269452
Diffstat (limited to 'math')
-rw-r--r-- | math/mpc/Makefile | 2 | ||||
-rw-r--r-- | math/mpc/distinfo | 5 |
2 files changed, 3 insertions, 4 deletions
diff --git a/math/mpc/Makefile b/math/mpc/Makefile index 05dd0e9d1297..0022e795a57e 100644 --- a/math/mpc/Makefile +++ b/math/mpc/Makefile @@ -6,7 +6,7 @@ # PORTNAME= mpc -PORTVERSION= 0.8.2 +PORTVERSION= 0.9 CATEGORIES= math devel MASTER_SITES= http://www.multiprecision.org/mpc/download/ diff --git a/math/mpc/distinfo b/math/mpc/distinfo index ca535ee5edc9..44e885427f90 100644 --- a/math/mpc/distinfo +++ b/math/mpc/distinfo @@ -1,3 +1,2 @@ -MD5 (mpc-0.8.2.tar.gz) = e98267ebd5648a39f881d66797122fb6 -SHA256 (mpc-0.8.2.tar.gz) = ae79f8d41d8a86456b68607e9ca398d00f8b7342d1d83bcf4428178ac45380c7 -SIZE (mpc-0.8.2.tar.gz) = 548401 +SHA256 (mpc-0.9.tar.gz) = fd3efe422f0d454592059e80f2c00d1a2e381bf2beda424c5094abd4deb049ac +SIZE (mpc-0.9.tar.gz) = 565953 |