{"id":27289906,"url":"https://github.com/elefthei/dyadic-rust","last_synced_at":"2025-08-25T06:32:10.761Z","repository":{"id":259908773,"uuid":"879329425","full_name":"elefthei/dyadic-rust","owner":"elefthei","description":"An efficient implementation of dyadic numbers in Rust","archived":false,"fork":false,"pushed_at":"2024-11-10T20:40:38.000Z","size":108,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-11T21:19:38.172Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/elefthei.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-10-27T16:13:37.000Z","updated_at":"2024-11-05T23:05:15.000Z","dependencies_parsed_at":"2024-10-28T17:36:03.389Z","dependency_job_id":"f2325764-a835-40ba-b40d-53e5ee5a18d0","html_url":"https://github.com/elefthei/dyadic-rust","commit_stats":null,"previous_names":["elefthei/dyadic-rust"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/elefthei%2Fdyadic-rust","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/elefthei%2Fdyadic-rust/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/elefthei%2Fdyadic-rust/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/elefthei%2Fdyadic-rust/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/elefthei","download_url":"https://codeload.github.com/elefthei/dyadic-rust/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248480422,"owners_count":21110939,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-04-11T21:19:41.721Z","updated_at":"2025-04-11T21:19:42.665Z","avatar_url":"https://github.com/elefthei.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# dyadic-rationals\n**dyadic-rationals** is a Rust library for performing symbolic algebra with dyadic rational numbers. Dyadic rationals, or binary rationals, are numbers that can be expressed as fractions with a power of two as the denominator (e.g., `1/2`, `3/2`, `3/8`). These numbers have finite binary representations, making them ideal for precise approximations in computer science and mathematics.\n\n### Features\n\n- **Arithmetic Operations**: Supports addition, subtraction, and multiplication, which maintain closure within the dyadic rational ring.\n- **Division by Powers of Two**: Includes division by powers of two, ensuring the result remains within the set of dyadic rationals.\n- **Exact Fractional Representation**: Represents dyadic numbers in their exact fractional form to avoid rounding errors.\n- **Simple API**: Provides a clear interface for algebraic operations on dyadic numbers, designed for ease of use in symbolic calculations.\n\n### Mathematical Background\n\nDyadic rationals form a ring, closed under addition, subtraction, multiplication, and division by powers of two. These properties make dyadic rationals valuable in applications requiring precise, finite representations, including numerical analysis, cryptography, and formal verification.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Felefthei%2Fdyadic-rust","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Felefthei%2Fdyadic-rust","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Felefthei%2Fdyadic-rust/lists"}