Continued fraction library
Project description
.. include:: <isogrk1.txt>
Continued
=========
Continued is a simple library for representing and operating on numbers
represented as continued fractions.
Features
--------
* Conversion from a plethora of representations to continued fractions
* int
* float
* decimal.Decimal
* fractions.Fraction and numbers.Rational
* Basic arithmetic: addition, subtraction, multiplication, division
* Popular irrational and transcendental identities, to arbitrary (infinite)
precision
* *e* (Euler's number)
* |pgr|
* |phgr| (the Golden Ratio)
* Arbitrary-precision quadratic surds
Bugs
----
Plenty.
- sqrt(2) * sqrt(2) goes into an infinite loop, as does any other operation
with an arbitrary string of 0.
Some enhancements are planned.
- Surds should permit the form (a + sqrt(b))/c without an extra pair of
combination generators.
- Trigonometric operators.
- Radix-based decoding.
Changelog
---------
1.0
^^^
Initial release.
Continued
=========
Continued is a simple library for representing and operating on numbers
represented as continued fractions.
Features
--------
* Conversion from a plethora of representations to continued fractions
* int
* float
* decimal.Decimal
* fractions.Fraction and numbers.Rational
* Basic arithmetic: addition, subtraction, multiplication, division
* Popular irrational and transcendental identities, to arbitrary (infinite)
precision
* *e* (Euler's number)
* |pgr|
* |phgr| (the Golden Ratio)
* Arbitrary-precision quadratic surds
Bugs
----
Plenty.
- sqrt(2) * sqrt(2) goes into an infinite loop, as does any other operation
with an arbitrary string of 0.
Some enhancements are planned.
- Surds should permit the form (a + sqrt(b))/c without an extra pair of
combination generators.
- Trigonometric operators.
- Radix-based decoding.
Changelog
---------
1.0
^^^
Initial release.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
continued-1.0.tar.gz
(5.2 kB
view details)
File details
Details for the file continued-1.0.tar.gz
.
File metadata
- Download URL: continued-1.0.tar.gz
- Upload date:
- Size: 5.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6f49e567180efc443b031a5ad8fee8187ecf87e5fc70f80084c60b7b8a96e72c |
|
MD5 | af841498121ca92ff3ec5ba74c11fc71 |
|
BLAKE2b-256 | 28b928430f1d853296400476c809b2bc8db80fe2a62dd3bb013af4b0a4fae8cd |