2017-01-19 19:52:01 +01:00
|
|
|
# $NetBSD: Makefile,v 1.9 2017/01/19 18:52:17 agc Exp $
|
2010-07-27 19:09:45 +02:00
|
|
|
|
2015-02-21 10:16:37 +01:00
|
|
|
DISTNAME= mpc-1.0.3
|
2014-02-23 16:32:10 +01:00
|
|
|
PKGNAME= ${DISTNAME:S/mpc/mpcomplex/}
|
2010-07-27 19:09:45 +02:00
|
|
|
CATEGORIES= math
|
2017-01-19 19:52:01 +01:00
|
|
|
MASTER_SITES= http://www.multiprecision.org/mpc/download/
|
|
|
|
MASTER_SITES+= ${MASTER_SITE_GNU:=mpc/}
|
2010-07-27 19:09:45 +02:00
|
|
|
|
|
|
|
MAINTAINER= MarkoSchuetz@web.de
|
|
|
|
HOMEPAGE= http://www.multiprecision.org/mpc/
|
|
|
|
COMMENT= Multiprecision complex arithmetic library
|
math/mpcomplex: Update from version 0.9 to 1.0
Changes since version 0.9:
- First release as a GNU package
- License change: LGPLv3+ for code, GFDLv1.3+ (with no invariant sections)
for documentation
- 100% of all lines are covered by tests
- Functions renamed:
mpc_mul_2exp to mpc_mul_2ui, mpc_div_2exp to mpc_div_2ui
- 0^0, which returned (NaN,NaN) previously, now returns (1,+0)
- Removed compatibility with K&R compilers, untestable due to lack of
such compilers
- New functions: mpc_log10, mpc_mul_2si, mpc_div_2si
- Speed-ups:
- mpc_fma
- Bug fixes:
- mpc_div and mpc_norm now return a value indicating the effective
rounding direction, as the other functions
- mpc_mul, mpc_sqr and mpc_norm now return correct results even if there
are over- or underflows during the computation
- mpc_asin, mpc_proj, mpc_sqr: Wrong result when input variable has
infinite part and equals output variable is corrected
- mpc_fr_sub: Wrong return value for imaginary part is corrected
2012-08-05 20:24:56 +02:00
|
|
|
LICENSE= gnu-lgpl-v3
|
2010-07-27 19:09:45 +02:00
|
|
|
|
|
|
|
USE_LIBTOOL= yes
|
2014-02-23 16:32:10 +01:00
|
|
|
GNU_CONFIGURE= yes
|
2010-07-27 19:09:45 +02:00
|
|
|
INFO_FILES= yes
|
|
|
|
|
2012-09-13 19:34:22 +02:00
|
|
|
# The test that checks version match between binary library and
|
|
|
|
# headers MIGHT NEED THE PACKAGE INSTALLED. Might fail otherwise.
|
2010-07-27 19:09:45 +02:00
|
|
|
TEST_TARGET= check
|
|
|
|
|
2011-09-14 19:14:09 +02:00
|
|
|
BUILDLINK_API_DEPENDS.gmp+= gmp>=4.3.2
|
|
|
|
.include "../../devel/gmp/buildlink3.mk"
|
|
|
|
BUILDLINK_API_DEPENDS.mpfr+= mpfr>=2.4.2
|
2010-07-27 19:09:45 +02:00
|
|
|
.include "../../math/mpfr/buildlink3.mk"
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|