Port details |
- py-reals Lightweight python3 library for arithmetic with real numbers
- 0.0.5 math
=2 0.0.5Version of this port present on the latest quarterly branch. - Maintainer: lwhsu@FreeBSD.org
![search for ports maintained by this maintainer search for ports maintained by this maintainer](/images/search.jpg) - Port Added: 2022-10-17 03:57:10
- Last Update: 2023-10-31 07:06:24
- Commit Hash: fb7af2a
- People watching this port, also watch:: jdictionary, py311-Automat, py311-python-gdsii, py39-PyOpenGL, p5-Sane
- Also Listed In: python
- License: MIT
- WWW:
- https://github.com/rubenvannieuwpoort/reals
- Description:
- Reals is a lightweight Python library for arbitrary precision arithmetic. It
allows you to compute approximations to an arbitrary degree of precision, and,
contrary to most other libraries, guarantees that all digits it displays are
correct. It works by using interval arithmetic and continued fractions. The
bulk of this code is based on Bill Gosper's notes on continued fractions in
which he presents algorithms for doing arithmetic on continued fractions.
The reals library is characterized by:
* Correctness; the reals library uses interval arithmetic to ensure that all
the digits are correct.
* Calculations are done in a streaming way; the result of previous
calculations can be re-used.
* Uses no external libraries.
* Focus on usability.
¦ ¦ ¦ ¦ ![SVNWeb - no subversion history for this port SVNWeb - no subversion history for this port](/images/subversion-greyed.png)
- Manual pages:
- FreshPorts has no man page information for this port.
- pkg-plist: as obtained via:
make generate-plist - Dependency lines:
-
- ${PYTHON_PKGNAMEPREFIX}reals>0:math/py-reals@${PY_FLAVOR}
- To install the port:
- cd /usr/ports/math/py-reals/ && make install clean
- To add the package, run one of these commands:
- pkg install math/py-reals
- pkg install py310-reals
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above. NOTE: This is a Python port. Instead of py310-reals listed in the above command, you can pick from the names under the Packages section.- PKGNAME: py310-reals
- Flavors: there is no flavor information for this port.
- distinfo:
- TIMESTAMP = 1698734899
SHA256 (reals-0.0.5.tar.gz) = e435b8bd59454607ebca4b5b3032ca461e8c86e09c57ece68998fa96123f58a9
SIZE (reals-0.0.5.tar.gz) = 18951
Packages (timestamps in pop-ups are UTC):
- Dependencies
- NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
- Build dependencies:
-
- py310-setuptools>=63.1.0 : devel/py-setuptools@py310
- python3.10 : lang/python310
- Test dependencies:
-
- python3.10 : lang/python310
- Runtime dependencies:
-
- py310-setuptools>=63.1.0 : devel/py-setuptools@py310
- python3.10 : lang/python310
- There are no ports dependent upon this port
Configuration Options:
- No options to configure
- Options name:
- math_py-reals
- USES:
- python:3.10+
- FreshPorts was unable to extract/find any pkg message
- Master Sites:
|