Import py26-bigfloat-0.2.1 as wip/py-bigfloat.
The bigfloat package is a Python package providing arbitrary-precision correctly-rounded binary floating-point arithmetic. Features * correct rounding on all operations; precisely defined semantics compatible with the IEEE 754-2008 standard. * support for mixed-type operations with Python integers and floats * support for emulating IEEE 754 arithmetic in any of the IEEE binary interchange formats described in IEEE 754-2008. Infinities, NaNs, signed zeros, and subnormals are all supported. * easy control of rounding modes and precisions, via Python's 'with' statement.
This commit is contained in:
parent
3b2dfaa6d8
commit
a90330e8fd
4 changed files with 86 additions and 0 deletions
12
py-bigfloat/DESCR
Normal file
12
py-bigfloat/DESCR
Normal file
|
@ -0,0 +1,12 @@
|
|||
The bigfloat package is a Python package providing arbitrary-precision
|
||||
correctly-rounded binary floating-point arithmetic.
|
||||
Features
|
||||
|
||||
* correct rounding on all operations; precisely defined semantics compatible
|
||||
with the IEEE 754-2008 standard.
|
||||
* support for mixed-type operations with Python integers and floats
|
||||
* support for emulating IEEE 754 arithmetic in any of the IEEE binary interchange
|
||||
formats described in IEEE 754-2008. Infinities, NaNs, signed zeros,
|
||||
and subnormals are all supported.
|
||||
* easy control of rounding modes and precisions, via Python's 'with' statement.
|
||||
|
27
py-bigfloat/Makefile
Normal file
27
py-bigfloat/Makefile
Normal file
|
@ -0,0 +1,27 @@
|
|||
# $NetBSD: Makefile,v 1.1.1.1 2010/09/06 13:54:52 jihbed Exp $
|
||||
#
|
||||
|
||||
DISTNAME= bigfloat-0.2.1
|
||||
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
|
||||
CATEGORIES= math
|
||||
MASTER_SITES= http://pypi.python.org/packages/source/b/bigfloat/
|
||||
|
||||
MAINTAINER= jihbed.research@gmail.com
|
||||
HOMEPAGE= http://pypi.python.org/packages/source/b/bigfloat/
|
||||
COMMENT= Arbitrary precision correctly-rounded floating point arithmetic
|
||||
LICENSE= gnu-gpl-v3 AND gnu-lgpl-v3
|
||||
|
||||
PKG_DESTDIR_SUPPORT= user-destdir
|
||||
|
||||
WRKSRC= ${WRKDIR}/bigfloat-0.2.1
|
||||
USE_LANGUAGES= # none
|
||||
|
||||
PYDISTUTILSPKG= yes
|
||||
|
||||
do-test:
|
||||
${RUN} cd ${WRKSRC}/bigfloat; ${SETENV} ${TEST_ENV} ${PYTHONBIN} test/test_bigfloat.py
|
||||
|
||||
.include "../../devel/py-ctypes/buildlink3.mk"
|
||||
.include "../../lang/python/extension.mk"
|
||||
.include "../../math/mpfr/buildlink3.mk"
|
||||
.include "../../mk/bsd.pkg.mk"
|
42
py-bigfloat/PLIST
Normal file
42
py-bigfloat/PLIST
Normal file
|
@ -0,0 +1,42 @@
|
|||
@comment $NetBSD: PLIST,v 1.1.1.1 2010/09/06 13:54:52 jihbed Exp $
|
||||
${PYSITELIB}/bigfloat/__init__.py
|
||||
${PYSITELIB}/bigfloat/__init__.pyc
|
||||
${PYSITELIB}/bigfloat/__init__.pyo
|
||||
${PYSITELIB}/bigfloat/bigfloat_config.py
|
||||
${PYSITELIB}/bigfloat/bigfloat_config.pyc
|
||||
${PYSITELIB}/bigfloat/bigfloat_config.pyo
|
||||
${PYSITELIB}/bigfloat/docs/_sources/index.txt
|
||||
${PYSITELIB}/bigfloat/docs/_static/basic.css
|
||||
${PYSITELIB}/bigfloat/docs/_static/default.css
|
||||
${PYSITELIB}/bigfloat/docs/_static/doctools.js
|
||||
${PYSITELIB}/bigfloat/docs/_static/file.png
|
||||
${PYSITELIB}/bigfloat/docs/_static/jquery.js
|
||||
${PYSITELIB}/bigfloat/docs/_static/minus.png
|
||||
${PYSITELIB}/bigfloat/docs/_static/plus.png
|
||||
${PYSITELIB}/bigfloat/docs/_static/pygments.css
|
||||
${PYSITELIB}/bigfloat/docs/_static/searchtools.js
|
||||
${PYSITELIB}/bigfloat/docs/_static/sidebar.js
|
||||
${PYSITELIB}/bigfloat/docs/_static/underscore.js
|
||||
${PYSITELIB}/bigfloat/docs/genindex.html
|
||||
${PYSITELIB}/bigfloat/docs/index.html
|
||||
${PYSITELIB}/bigfloat/docs/objects.inv
|
||||
${PYSITELIB}/bigfloat/docs/search.html
|
||||
${PYSITELIB}/bigfloat/docs/searchindex.js
|
||||
${PYSITELIB}/bigfloat/examples/__init__.py
|
||||
${PYSITELIB}/bigfloat/examples/__init__.pyc
|
||||
${PYSITELIB}/bigfloat/examples/__init__.pyo
|
||||
${PYSITELIB}/bigfloat/examples/contfrac.py
|
||||
${PYSITELIB}/bigfloat/examples/contfrac.pyc
|
||||
${PYSITELIB}/bigfloat/examples/contfrac.pyo
|
||||
${PYSITELIB}/bigfloat/examples/lanczos_coeffs.py
|
||||
${PYSITELIB}/bigfloat/examples/lanczos_coeffs.pyc
|
||||
${PYSITELIB}/bigfloat/examples/lanczos_coeffs.pyo
|
||||
${PYSITELIB}/bigfloat/pympfr.py
|
||||
${PYSITELIB}/bigfloat/pympfr.pyc
|
||||
${PYSITELIB}/bigfloat/pympfr.pyo
|
||||
${PYSITELIB}/bigfloat/test/__init__.py
|
||||
${PYSITELIB}/bigfloat/test/__init__.pyc
|
||||
${PYSITELIB}/bigfloat/test/__init__.pyo
|
||||
${PYSITELIB}/bigfloat/test/test_bigfloat.py
|
||||
${PYSITELIB}/bigfloat/test/test_bigfloat.pyc
|
||||
${PYSITELIB}/bigfloat/test/test_bigfloat.pyo
|
5
py-bigfloat/distinfo
Normal file
5
py-bigfloat/distinfo
Normal file
|
@ -0,0 +1,5 @@
|
|||
$NetBSD: distinfo,v 1.1.1.1 2010/09/06 13:54:52 jihbed Exp $
|
||||
|
||||
SHA1 (bigfloat-0.2.1.tar.gz) = 50f339585c0f6fe88bd63606e8c97192b10c53ce
|
||||
RMD160 (bigfloat-0.2.1.tar.gz) = 04453e3784f3c3f837ed2a043b81ae1b839ec12c
|
||||
Size (bigfloat-0.2.1.tar.gz) = 129540 bytes
|
Loading…
Reference in a new issue