{"id":17723777,"url":"https://github.com/ncw/gmp","last_synced_at":"2026-03-08T22:32:25.239Z","repository":{"id":11095749,"uuid":"13446990","full_name":"ncw/gmp","owner":"ncw","description":"Go language interface to GMP - GNU Multiprecision Library (golang)","archived":false,"fork":false,"pushed_at":"2023-11-25T19:45:04.000Z","size":65,"stargazers_count":119,"open_issues_count":11,"forks_count":26,"subscribers_count":8,"default_branch":"master","last_synced_at":"2025-06-04T02:42:05.922Z","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/ncw.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","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},"funding":{"github":["ncw"],"patreon":"njcw","liberapay":"ncw"}},"created_at":"2013-10-09T16:05:12.000Z","updated_at":"2025-04-16T06:48:24.000Z","dependencies_parsed_at":"2022-09-06T17:11:53.936Z","dependency_job_id":"e3acaaa1-2b97-4a05-a4ca-a50cc48b75ee","html_url":"https://github.com/ncw/gmp","commit_stats":{"total_commits":40,"total_committers":3,"mean_commits":"13.333333333333334","dds":"0.15000000000000002","last_synced_commit":"0ba0a580a9431eece8daa8c279908ab0ec16d070"},"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"purl":"pkg:github/ncw/gmp","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ncw%2Fgmp","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ncw%2Fgmp/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ncw%2Fgmp/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ncw%2Fgmp/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ncw","download_url":"https://codeload.github.com/ncw/gmp/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ncw%2Fgmp/sbom","scorecard":{"id":677584,"data":{"date":"2025-08-11","repo":{"name":"github.com/ncw/gmp","commit":"0ba0a580a9431eece8daa8c279908ab0ec16d070"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3.4,"checks":[{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Dangerous-Workflow","score":10,"reason":"no dangerous workflow patterns detected","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Code-Review","score":0,"reason":"Found 1/30 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Pinned-Dependencies","score":0,"reason":"dependency not pinned by hash detected -- score normalized to 0","details":["Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/build.yml:49: update your workflow using https://app.stepsecurity.io/secureworkflow/ncw/gmp/build.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/build.yml:54: update your workflow using https://app.stepsecurity.io/secureworkflow/ncw/gmp/build.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/build.yml:75: update your workflow using https://app.stepsecurity.io/secureworkflow/ncw/gmp/build.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/build.yml:93: update your workflow using https://app.stepsecurity.io/secureworkflow/ncw/gmp/build.yml/master?enable=pin","Info:   0 out of   3 GitHub-owned GitHubAction dependencies pinned","Info:   0 out of   1 third-party GitHubAction dependencies pinned"],"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/build.yml:1","Info: no jobLevel write permissions found"],"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: BSD 3-Clause \"New\" or \"Revised\" License: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 1 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}}]},"last_synced_at":"2025-08-21T21:59:55.807Z","repository_id":11095749,"created_at":"2025-08-21T21:59:55.807Z","updated_at":"2025-08-21T21:59:55.807Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30275542,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-08T20:45:49.896Z","status":"ssl_error","status_checked_at":"2026-03-08T20:45:49.525Z","response_time":56,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6: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":"2024-10-25T15:44:00.792Z","updated_at":"2026-03-08T22:32:25.210Z","avatar_url":"https://github.com/ncw.png","language":"Go","funding_links":["https://github.com/sponsors/ncw","https://patreon.com/njcw","https://liberapay.com/ncw"],"categories":[],"sub_categories":[],"readme":"Gmp\n===\n\n[![GoDoc](https://godoc.org/github.com/ncw/gmp?status.svg)](https://godoc.org/github.com/ncw/gmp)\n[![Build Status](https://travis-ci.org/ncw/gmp.svg?branch=master)](https://travis-ci.org/ncw/gmp)\n\nThis package provides a drop in replacement for Go's built in\n[math/big](http://golang.org/pkg/math/big/) big integer package using\nthe [GNU Multiprecision Library](http://gmplib.org/) (GMP).\n\nGMP is very much faster than Go's math/big however it is an external C\nlibrary with all the problems that entails (cgo, dependencies etc)\n\nThis library was made by taking the [cgo example of wrapping\nGMP](http://golang.org/misc/cgo/gmp/gmp.go) from the Go source and\ndoing the following to it\n\n* Copying the implementation from misc/cgo/gmp/gmp.go\n* Copying the documentation from src/pkg/math/big/int.go\n* Additional implementation of missing methods\n* Bug fixes for existing implementations\n* Making it passes the test suite from src/pkg/math/big/int_test.go\n* Adding memory management\n* Fix problems on 32 bit platforms when using `int64` values which don't fit into a `C.long`\n* Implementing Rat support making it pass src/pkg/math/big/rat_test.go\n\nSee here for package docs\n\n* https://godoc.org/github.com/ncw/gmp\n\nInstall\n-------\n\nUse go to install the library\n\n    go get github.com/ncw/gmp\n\nUsage\n-----\n\nSee here for full package docs\n\n* http://go.pkgdoc.org/github.com/ncw/gmp\n\nTo use as in a drop in replacement for math/big, replace\n\n    import \"math/big\"\n\nWith\n\n    import big \"github.com/ncw/gmp\"\n\nFeatures that aren't part of math/big are clearly marked and if you\nare using those, then I suggest you import as\n\n    import \"github.com/ncw/gmp\"\n    \nTesting\n-------\n\nTo run the tests use\n\n    go test github.com/ncw/gmp\n\nThe tests have been copied from the tests for the math/big library in\nthe Go source and modified as little as possible so it should be 100%\ncompatible.\n\nDifferences\n-----------\n\nHere are the differences between math/big and this package\n\n* `Int.Bits` and `Int.SetBits` not implemented\n* `Rat.Num()` and `Rat.Denom()` return a copy not a reference, so\n*  If you want to set them use the new methods `Rat.SetNum()` and `Rat.SetDenom()`\n\n\nLicense\n-------\n\nAs this contains a great deal of code copied from the Go source it is\nlicenced identically to the Go source itself - see the LICENSE file\nfor details.\n\nContact and support\n-------------------\n\nThe project website is at:\n\n* https://github.com/ncw/gmp\n\nThere you can file bug reports, ask for help or contribute patches.\n\nAuthors\n-------\n\n* [The Go team](http://golang.org/AUTHORS)\n* Nick Craig-Wood \u003cnick@craig-wood.com\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fncw%2Fgmp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fncw%2Fgmp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fncw%2Fgmp/lists"}