aboutsummaryrefslogtreecommitdiff
path: root/math/py-reals/pkg-descr
diff options
context:
space:
mode:
authorLi-Wen Hsu <lwhsu@FreeBSD.org>2022-10-17 03:51:16 +0000
committerLi-Wen Hsu <lwhsu@FreeBSD.org>2022-10-17 03:51:16 +0000
commit3b00134bc22b77bd5575047ef79c07f761cf9c9f (patch)
tree5803bc6af850f8bdc9d9cfa4e53665af3045d828 /math/py-reals/pkg-descr
parentd26e350ec3b9c9475dc0679573175650a7e3fa04 (diff)
downloadports-3b00134bc22b77bd5575047ef79c07f761cf9c9f.tar.gz
ports-3b00134bc22b77bd5575047ef79c07f761cf9c9f.zip
Add math/py-reals: Lightweight python3 library for arithmetic with real numbers
Diffstat (limited to 'math/py-reals/pkg-descr')
-rw-r--r--math/py-reals/pkg-descr15
1 files changed, 15 insertions, 0 deletions
diff --git a/math/py-reals/pkg-descr b/math/py-reals/pkg-descr
new file mode 100644
index 000000000000..0e74b3acf81e
--- /dev/null
+++ b/math/py-reals/pkg-descr
@@ -0,0 +1,15 @@
+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.