1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-27 05:10:36 +00:00

Update to libmpc version 0.8.2 which brings a speed-up of mpc_pow_ui

through binary exponentiation and fixes the testsuite for mpfr 3.0.0.

Suggested by:	Gunther Nikl <gnikl@users.sourceforge.net>
Feature safe:	yes
This commit is contained in:
Gerald Pfeifer 2010-06-20 22:54:24 +00:00
parent 42e9042290
commit 7a9925a944
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=256771
3 changed files with 4 additions and 16 deletions

View File

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

View File

@ -1,3 +1,3 @@
MD5 (mpc-0.8.1.tar.gz) = 5b34aa804d514cc295414a963aedb6bf
SHA256 (mpc-0.8.1.tar.gz) = e664603757251fd8a352848276497a4c79b7f8b21fd8aedd5cc0598a38fee3e4
SIZE (mpc-0.8.1.tar.gz) = 544950
MD5 (mpc-0.8.2.tar.gz) = e98267ebd5648a39f881d66797122fb6
SHA256 (mpc-0.8.2.tar.gz) = ae79f8d41d8a86456b68607e9ca398d00f8b7342d1d83bcf4428178ac45380c7
SIZE (mpc-0.8.2.tar.gz) = 548401

View File

@ -1,11 +0,0 @@
--- src/acos.c.orig 2010-06-11 16:14:09.000000000 +0200
+++ src/acos.c 2010-06-11 16:14:30.000000000 +0200
@@ -189,7 +189,7 @@
rnd_im = rnd_im == GMP_RNDU ? GMP_RNDD
: rnd_im == GMP_RNDD ? GMP_RNDU
#if MPFR_VERSION_MAJOR >= 3
- : rnd_im == GMP_RNDA ? GMP_RNDZ
+ : rnd_im == MPFR_RNDA ? MPFR_RNDZ
#endif
: rnd_im;
rnd1 = RNDC(GMP_RNDN, rnd_im);