{"id":31699533,"url":"https://github.com/keep94/sqrt","last_synced_at":"2026-04-02T14:28:43.409Z","repository":{"id":314426925,"uuid":"1054157871","full_name":"keep94/sqrt","owner":"keep94","description":"A package to compute square roots and cube roots to arbitrary precision","archived":false,"fork":false,"pushed_at":"2026-03-27T00:22:23.000Z","size":32,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-03-27T12:52:58.564Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/keep94.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-09-10T12:54:09.000Z","updated_at":"2026-03-27T00:21:48.000Z","dependencies_parsed_at":"2025-09-12T12:25:30.196Z","dependency_job_id":"e51a6975-af98-44c7-94fa-6f7d5abe6735","html_url":"https://github.com/keep94/sqrt","commit_stats":null,"previous_names":["keep94/sqrt"],"tags_count":8,"template":false,"template_full_name":null,"purl":"pkg:github/keep94/sqrt","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/keep94%2Fsqrt","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/keep94%2Fsqrt/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/keep94%2Fsqrt/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/keep94%2Fsqrt/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/keep94","download_url":"https://codeload.github.com/keep94/sqrt/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/keep94%2Fsqrt/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31308087,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-02T12:59:32.332Z","status":"ssl_error","status_checked_at":"2026-04-02T12:54:48.875Z","response_time":89,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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-10-08T19:44:30.694Z","updated_at":"2026-04-02T14:28:43.386Z","avatar_url":"https://github.com/keep94.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"sqrt\n====\n\nA package to compute square roots and cube roots to arbitrary precision.\n\nThis package is dedicated to my mother, who taught me how to calculate square roots by hand as a child.\n\n## How this package differs from big.Float.Sqrt\n\nbig.Float.Sqrt requires a finite precision to be set ahead of time. The answer it gives is only accurate to that precision. This package does not require a precision to be set in advance. Square root values in this package compute their digits lazily on an as needed basis just as one would compute square roots by hand. Also, this package features cube roots which big.Float in the standard library does not offer as of this writing. Cube root values in this package also compute their digits lazily on an as needed basis just as one would compute cube roots by hand.\n\n## Examples\n\n```golang\npackage main\n\nimport (\n    \"fmt\"\n\n    \"github.com/keep94/sqrt\"\n)\n\nfunc main() {\n\n    // Print the first 1000 digits of the square root of 2.\n    fmt.Printf(\"%.1000g\\n\", sqrt.Sqrt(2))\n\n    // Print the 10,000th digit of the cube root of 5.\n    fmt.Println(sqrt.CubeRoot(5).At(9999))\n}\n```\n\n## Related Repos\n\n- [github.com/keep94/numprint](https://github.com/keep94/numprint)\n- [github.com/keep94/numsearch](https://github.com/keep94/numsearch)\n\n## More Documentation\n\nMore documentation and examples can be found [here](https://pkg.go.dev/github.com/keep94/sqrt).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkeep94%2Fsqrt","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkeep94%2Fsqrt","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkeep94%2Fsqrt/lists"}