FreeBSD.software
Home/math/py311-reals

py311-reals

0.0.5_1

Lightweight python3 library for arithmetic with real numbers

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.

Origin: math/py-reals
Category: math
Size: 197KiB
License: MIT
Maintainer: lwhsu@FreeBSD.org
Dependencies: 1 packages
Required by: 0 packages
$pkg install py311-reals

Dependencies (1)

More in math