From 4ac45a964f96c30fca2355a393f78a4e10c5d05f Mon Sep 17 00:00:00 2001 From: drochner Date: Thu, 22 Jul 2004 17:33:28 +0000 Subject: import mapm-4.9.2, another Arbitrary Precision Math library (pretty complete, what I'm missing is just better rounding and conversion support) --- math/mapm/DESCR | 8 ++++++++ math/mapm/Makefile | 26 ++++++++++++++++++++++++++ math/mapm/PLIST | 8 ++++++++ math/mapm/distinfo | 4 ++++ 4 files changed, 46 insertions(+) create mode 100644 math/mapm/DESCR create mode 100644 math/mapm/Makefile create mode 100644 math/mapm/PLIST create mode 100644 math/mapm/distinfo (limited to 'math') diff --git a/math/mapm/DESCR b/math/mapm/DESCR new file mode 100644 index 00000000000..fae7a365222 --- /dev/null +++ b/math/mapm/DESCR @@ -0,0 +1,8 @@ +Mike's Arbitrary Precision Math Library is a set of functions that +allow the user to perform math to any level of accuracy that is +desired. +This library +will perform the following functions to any desired precision level : +SQRT, CBRT, SIN, COS, TAN, ARC-SIN, ARC-COS, ARC-TAN, ARC-TAN2, LOG, +LOG10, EXP, POW, SINH, COSH, TANH, ARC-SINH, ARC-COSH, ARC-TANH, and +also FACTORIAL. diff --git a/math/mapm/Makefile b/math/mapm/Makefile new file mode 100644 index 00000000000..597f89eb12a --- /dev/null +++ b/math/mapm/Makefile @@ -0,0 +1,26 @@ +# $NetBSD: Makefile,v 1.1.1.1 2004/07/22 17:33:28 drochner Exp $ +# + +DISTNAME= mapm-4.9.2 +CATEGORIES= math +MASTER_SITES= http://www.tc.umn.edu/~ringx004/ + +MAINTAINER= tech-pkg@NetBSD.org +HOMEPAGE= http://www.tc.umn.edu/~ringx004/ +COMMENT= Arbitrary Precision Math library + +WRKSRC= ${WRKDIR}/mapm_4.9.2 +USE_BUILDLINK3= yes + +DOCS= README algorithms.used function.ref + +do-install: + ${INSTALL_DATA} ${WRKSRC}/m_apm.h ${PREFIX}/include + ${INSTALL_DATA} ${WRKSRC}/libmapm.a ${PREFIX}/lib + ${INSTALL_PROGRAM} ${WRKSRC}/calc ${PREFIX}/bin/mapm-calc + ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/mapm + cd ${WRKSRC}; for f in ${DOCS}; do \ + ${INSTALL_DATA} $$f ${PREFIX}/share/doc/mapm; \ + done + +.include "../../mk/bsd.pkg.mk" diff --git a/math/mapm/PLIST b/math/mapm/PLIST new file mode 100644 index 00000000000..bc78a8f845d --- /dev/null +++ b/math/mapm/PLIST @@ -0,0 +1,8 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2004/07/22 17:33:28 drochner Exp $ +bin/mapm-calc +include/m_apm.h +lib/libmapm.a +share/doc/mapm/README +share/doc/mapm/algorithms.used +share/doc/mapm/function.ref +@dirrm share/doc/mapm diff --git a/math/mapm/distinfo b/math/mapm/distinfo new file mode 100644 index 00000000000..d417883db13 --- /dev/null +++ b/math/mapm/distinfo @@ -0,0 +1,4 @@ +$NetBSD: distinfo,v 1.1.1.1 2004/07/22 17:33:28 drochner Exp $ + +SHA1 (mapm-4.9.2.tar.gz) = e6270b4b88fb1e02acd5699c9c2d6c8a1824153d +Size (mapm-4.9.2.tar.gz) = 161575 bytes -- cgit v1.2.3