aboutsummaryrefslogtreecommitdiffstats
path: root/math
diff options
context:
space:
mode:
authorgerald <gerald@FreeBSD.org>2011-02-22 04:06:58 +0800
committergerald <gerald@FreeBSD.org>2011-02-22 04:06:58 +0800
commit800df1080720622c9c7d12785614121e16b00a94 (patch)
treeb80f690feedf1d244dac5ded468aa267186953bf /math
parent287d8e1f79a0c5e80e28314e67299203aae78562 (diff)
downloadfreebsd-ports-gnome-800df1080720622c9c7d12785614121e16b00a94.tar.gz
freebsd-ports-gnome-800df1080720622c9c7d12785614121e16b00a94.tar.zst
freebsd-ports-gnome-800df1080720622c9c7d12785614121e16b00a94.zip
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"
Diffstat (limited to 'math')
-rw-r--r--math/mpc/Makefile2
-rw-r--r--math/mpc/distinfo5
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