mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-21 04:06:46 +00:00
0a9ef43ed3
- 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"
34 lines
754 B
Makefile
34 lines
754 B
Makefile
# New ports collection makefile for: mpc
|
|
# Date created: 05 April, 2009
|
|
# Whom: Wen Heping <wenheping@gmail.com>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= mpc
|
|
PORTVERSION= 0.9
|
|
CATEGORIES= math devel
|
|
MASTER_SITES= http://www.multiprecision.org/mpc/download/
|
|
|
|
MAINTAINER= gerald@FreeBSD.org
|
|
COMMENT= Library of complex numbers with arbitrarily high precision
|
|
|
|
LIB_DEPENDS= gmp.10:${PORTSDIR}/math/gmp \
|
|
mpfr.4:${PORTSDIR}/math/mpfr
|
|
|
|
GNU_CONFIGURE= yes
|
|
CONFIGURE_ARGS= --with-gmp=${LOCALBASE} \
|
|
--with-mpfr=${LOCALBASE}
|
|
USE_LDCONFIG= yes
|
|
|
|
INFO= mpc
|
|
PLIST_FILES= include/mpc.h \
|
|
lib/libmpc.a lib/libmpc.la lib/libmpc.so lib/libmpc.so.2
|
|
|
|
LATEST_LINK= math_mpc
|
|
|
|
regression-test: build
|
|
@cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE} check
|
|
|
|
.include <bsd.port.mk>
|