svn commit: r517031 - in head/math: . mpfrc++
Yuri Victorovich
yuri at FreeBSD.org
Fri Nov 8 04:59:16 UTC 2019
Author: yuri
Date: Fri Nov 8 04:59:14 2019
New Revision: 517031
URL: https://svnweb.freebsd.org/changeset/ports/517031
Log:
New port: math/mpfrc++: High-performance C++ interface for MPFR library
Added:
head/math/mpfrc++/
head/math/mpfrc++/Makefile (contents, props changed)
head/math/mpfrc++/distinfo (contents, props changed)
head/math/mpfrc++/pkg-descr (contents, props changed)
Modified:
head/math/Makefile
Modified: head/math/Makefile
==============================================================================
--- head/math/Makefile Fri Nov 8 03:58:25 2019 (r517030)
+++ head/math/Makefile Fri Nov 8 04:59:14 2019 (r517031)
@@ -371,6 +371,7 @@
SUBDIR += mpc
SUBDIR += mpexpr
SUBDIR += mpfr
+ SUBDIR += mpfrc++
SUBDIR += mpir
SUBDIR += mppp
SUBDIR += mprime
Added: head/math/mpfrc++/Makefile
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/math/mpfrc++/Makefile Fri Nov 8 04:59:14 2019 (r517031)
@@ -0,0 +1,25 @@
+# $FreeBSD$
+
+PORTNAME= mpfrc++
+DISTVERSION= 3.6.2
+CATEGORIES= math devel
+MASTER_SITES= http://www.holoborodko.com/pavel/downloads/
+
+MAINTAINER= yuri at FreeBSD.org
+COMMENT= High-performance C++ interface for MPFR library
+
+LICENSE= GPLv3
+LICENSE_FILE= ${WRKSRC}/copying.txt
+
+USES= zip
+
+NO_WRKSUBDIR= yes
+NO_BUILD= yes
+NO_ARCH= yes
+
+PLIST_FILES= include/mpreal.h
+
+do-install:
+ ${INSTALL_DATA} ${WRKSRC}/mpreal.h ${STAGEDIR}${PREFIX}/include/
+
+.include <bsd.port.mk>
Added: head/math/mpfrc++/distinfo
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/math/mpfrc++/distinfo Fri Nov 8 04:59:14 2019 (r517031)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1573188092
+SHA256 (mpfrc++-3.6.2.zip) = 957ead4bfe990f3bfda0b17012633731cf38e194989818e78a960952948c1fc7
+SIZE (mpfrc++-3.6.2.zip) = 37085
Added: head/math/mpfrc++/pkg-descr
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/math/mpfrc++/pkg-descr Fri Nov 8 04:59:14 2019 (r517031)
@@ -0,0 +1,11 @@
+MPFR library allows user to conduct floating-point calculations with virtually
+any (restricted by available memory only) precision with correct rounding.
+Besides simple arithmetic operations like "+" and "/" the whole set of
+mathematical functions is supported: sin, sqrt, pow, log, etc.
+
+MPFR defines custom C-language type to represent floating-point number mpfr_t.
+Mathematical manipulations with mpfr_t - variables are done through
+assembler-look-like functions. For instance, to add two numbers x and y with
+result in z special function mpfr_add(z,x,y,GMP_RNDN) should be called.
+
+WWW: http://www.holoborodko.com/pavel/mpfr/
More information about the svn-ports-all
mailing list