math/py-reals 0.0.6 FreeBSD
Lightweight python3 library for arithmetic with real numbers
- System
- FreeBSD
- Repository
- FreeBSD ports
- Maintainer
- [email protected]
- Last update
- Commit
5b9adb7fe4- License
- MIT
- Categories
- math, python
- Package size
- 37.1 KiB, 189.8 KiB installed
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.
In the other systems
| System | Port | Version |
|---|---|---|
| FreeBSD | math/py-reals | 0.0.6 |
| DragonFly | math/py-reals | 0.0.5_1 |
Install
Binary package:
pkg install py312-reals
From the ports tree:
cd /usr/ports/math/py-reals/ && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= py312-reals>0:math/py-reals
Packages
The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.
| Repository | aarch64 | amd64 | armv6 | armv7 | i386 |
|---|---|---|---|---|---|
| FreeBSD:14:latest | 0.0.6 | 0.0.6 | 0.0.4 | 0.0.5_1 | 0.0.6 |
| FreeBSD:14:quarterly | 0.0.6 | 0.0.6 | n/a | 0.0.5_1 | 0.0.6 |
| FreeBSD:15:latest | 0.0.6 | 0.0.6 | n/a | 0.0.5_1 | 0.0.5_1 |
| FreeBSD:15:quarterly | 0.0.6 | 0.0.6 | n/a | n/a | n/a |
| FreeBSD:16:latest | 0.0.6 | 0.0.6 | n/a | n/a | n/a |
| FreeBSD:16:quarterly | n/a | n/a | n/a | n/a | n/a |
Dependencies
As this port's Makefile names them.
Build 1
${PYTHON_PKGNAMEPREFIX}wheel>0: devel/py-wheel
The full lists below include those, and their dependencies in turn.
Build dependencies 16
Run dependencies 7
No port depends on this one.
Configuration
No options to configure.
- USES
- python
- Service scripts
- none
Files
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| reals-0.0.6.tar.gz | 19295 | a981642415a2ebb676a95abb34683af58105511d3d27b8445d462d5f878522f5 |
Master sites 1
- PYPI