New port: math/arb: C library for arbitrary-precision interval arithmetic

This commit is contained in:
Yuri Victorovich 2018-03-30 06:48:06 +00:00
parent 141654c0c2
commit 3a0c5c28f2
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=465949
5 changed files with 74 additions and 0 deletions

View File

@ -110,6 +110,7 @@
SUBDIR += analitza-kde4
SUBDIR += ann
SUBDIR += apc
SUBDIR += arb
SUBDIR += aribas
SUBDIR += armadillo
SUBDIR += arpack

27
math/arb/Makefile Normal file
View File

@ -0,0 +1,27 @@
# $FreeBSD$
PORTNAME= arb
DISTVERSION= 2.13.0
CATEGORIES= math
MAINTAINER= yuri@FreeBSD.org
COMMENT= C library for arbitrary-precision interval arithmetic
LICENSE= LGPL21
LICENSE_FILE= ${WRKSRC}/LICENSE
LIB_DEPENDS= libflint.so:math/flint2 \
libgmp.so:math/gmp \
libmpfr.so:math/mpfr
USES= gmake
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --disable-static
USE_GITHUB= yes
GH_ACCOUNT= fredrik-johansson
USE_LDCONFIG= yes
post-install:
@${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libarb.so.*
.include <bsd.port.mk>

3
math/arb/distinfo Normal file
View File

@ -0,0 +1,3 @@
TIMESTAMP = 1522369576
SHA256 (fredrik-johansson-arb-2.13.0_GH0.tar.gz) = d075116d094bfda96f9c4ce10bb9bf23b333a8246f48c532427168d0f91b7788
SIZE (fredrik-johansson-arb-2.13.0_GH0.tar.gz) = 1331452

15
math/arb/pkg-descr Normal file
View File

@ -0,0 +1,15 @@
Arb is an implementation of ball arithmetic, also known as mid-rad interval
arithmetic. Ball arithmetic is an extension of floating-point arithmetic in
which an error bound is attached to each variable. This allows computing
rigorously with real and complex numbers.
With plain floating-point arithmetic, the user must do an error analysis to
guarantee that results are correct. Manual error analysis is time-consuming and
bug-prone. Ball arithmetic effectively makes error analysis automatic.
Arb is designed for computer algebra and computational number theory, but may be
useful in any area demanding reliable or precise numerical computing. Arb scales
seamlessly from tens of digits up to billions of digits. Efficiency is achieved
by low level optimizations and use of asymptotically fast algorithms.
WWW: http://arblib.org/

28
math/arb/pkg-plist Normal file
View File

@ -0,0 +1,28 @@
include/acb.h
include/acb_calc.h
include/acb_dft.h
include/acb_dirichlet.h
include/acb_elliptic.h
include/acb_hypgeom.h
include/acb_mat.h
include/acb_modular.h
include/acb_poly.h
include/arb.h
include/arb_calc.h
include/arb_fmpz_poly.h
include/arb_hypgeom.h
include/arb_mat.h
include/arb_poly.h
include/arf.h
include/bernoulli.h
include/bool_mat.h
include/dirichlet.h
include/dlog.h
include/fmpr.h
include/fmpz_extras.h
include/hypgeom.h
include/mag.h
include/partitions.h
lib/libarb.so
lib/libarb.so.2
lib/libarb.so.2.4.0