{"id":24370291,"url":"https://github.com/realeroberto/bashlets-math","last_synced_at":"2026-04-27T18:04:14.422Z","repository":{"id":80138497,"uuid":"253245984","full_name":"realeroberto/bashlets-math","owner":"realeroberto","description":"Math package for the bashlets project.","archived":false,"fork":false,"pushed_at":"2021-01-04T17:48:01.000Z","size":8,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-12T10:44:59.669Z","etag":null,"topics":["bash","bashlets","math"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/realeroberto.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2020-04-05T13:50:39.000Z","updated_at":"2021-01-04T17:48:03.000Z","dependencies_parsed_at":null,"dependency_job_id":"a4d54954-2c9d-4d91-a921-96c295c5ac63","html_url":"https://github.com/realeroberto/bashlets-math","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/realeroberto/bashlets-math","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/realeroberto%2Fbashlets-math","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/realeroberto%2Fbashlets-math/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/realeroberto%2Fbashlets-math/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/realeroberto%2Fbashlets-math/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/realeroberto","download_url":"https://codeload.github.com/realeroberto/bashlets-math/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/realeroberto%2Fbashlets-math/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":261539318,"owners_count":23174135,"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":["bash","bashlets","math"],"created_at":"2025-01-19T04:24:05.232Z","updated_at":"2026-04-27T18:04:14.339Z","avatar_url":"https://github.com/realeroberto.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# bashlets-math\n\nMath package for the [bashlets](https://github.com/reale/bashlets) project.\n\nSpecifically, this package contains the following modules:\n\n* `bashlets.math.bc`: Interface to the bc calculator\n* `bashlets.math.historical`: Historical algorithms\n* `bashlets.math.poly`: Polynomials\n\n## Installing\n\nFirst install the bashlets [core distribution](https://github.com/reale/bashlets).\n\nThen it is enough to do:\n\n\t$ bashlets-install math\n\n## Examples\n\n### Calculate basic constants to (almost) arbitrary precision\n\n    $ source bashlets math::bc::constants\n    $ bash$$ constants calculate phi 60\n\n    1.618033988749894848204586834365638117720309179805762862135448\n\n### Calculate Pi by Viète's formula\n\n    $ source bashlets math::historical::constant\n    $ bash$$ constant pi_by_viete\n\n    3.14159\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frealeroberto%2Fbashlets-math","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frealeroberto%2Fbashlets-math","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frealeroberto%2Fbashlets-math/lists"}