1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-20 04:02:27 +00:00

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"
This commit is contained in:
Gerald Pfeifer 2011-02-21 20:06:58 +00:00
parent d04a26cf5e
commit 0a9ef43ed3
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=269452
2 changed files with 3 additions and 4 deletions

View File

@ -6,7 +6,7 @@
#
PORTNAME= mpc
PORTVERSION= 0.8.2
PORTVERSION= 0.9
CATEGORIES= math devel
MASTER_SITES= http://www.multiprecision.org/mpc/download/

View File

@ -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