{"id":13808547,"url":"https://github.com/q60/rational","last_synced_at":"2025-04-12T03:32:15.750Z","repository":{"id":56759775,"uuid":"524751530","full_name":"q60/rational","owner":"q60","description":"Elixir library implementing rational numbers and math.","archived":false,"fork":false,"pushed_at":"2022-08-20T18:40:05.000Z","size":16,"stargazers_count":8,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-25T23:37:12.442Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Elixir","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/q60.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}},"created_at":"2022-08-14T18:38:40.000Z","updated_at":"2024-09-03T17:43:49.000Z","dependencies_parsed_at":"2022-08-16T02:00:29.961Z","dependency_job_id":null,"html_url":"https://github.com/q60/rational","commit_stats":null,"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/q60%2Frational","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/q60%2Frational/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/q60%2Frational/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/q60%2Frational/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/q60","download_url":"https://codeload.github.com/q60/rational/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248512886,"owners_count":21116699,"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":"2024-08-04T01:01:45.843Z","updated_at":"2025-04-12T03:32:15.501Z","avatar_url":"https://github.com/q60.png","language":"Elixir","funding_links":[],"categories":["Algorithms and Data structures"],"sub_categories":[],"readme":"# qrational\n\nElixir library implementing rational numbers and math.\n\nThe library adds new type of rational numbers and basic math operations for them. Rationals can also interact with integers and floats. Actually this library expands existing functions, so they can work with rationals too. Number operations available:\n\n\n* addition\n* subtraction\n* multiplication\n* division\n* exponentiation\n* absolute value\n\n## Installation\n\nqrational is [available in Hex](https://hex.pm/packages/qrational) and can be installed by adding `qrational` to your list of dependencies in `mix.exs`:\n\n```elixir\ndef deps do\n  [\n    {:rational, \"1.3.2\", hex: :qrational}\n  ]\nend\n```\n\nThe docs can be found at \u003chttps://hexdocs.pm/qrational\u003e.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fq60%2Frational","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fq60%2Frational","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fq60%2Frational/lists"}