Skip to main content
.. 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.

Metadata

Release files for continued 1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for continued 1.0
File Size Uploaded Provenance
continued-1.0.tar.gz 5.2 kB Without provenance Details

Release files / continued-1.0.tar.gz

Download URL continued-1.0.tar.gz
Size 5.2 kB
Tags Source
SHA-256 checksum
How to use checksums
6f49e567180efc443b031a5ad8fee8187ecf87e5fc70f80084c60b7b8a96e72c
BLAKE2b-256 checksum
How to use checksums
28b928430f1d853296400476c809b2bc8db80fe2a62dd3bb013af4b0a4fae8cd
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for continued 1.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page