{"id":24866389,"url":"https://github.com/twiddlingbits/twr-bigint","last_synced_at":"2025-03-26T19:20:49.792Z","repository":{"id":214255787,"uuid":"736058290","full_name":"twiddlingbits/twr-bigint","owner":"twiddlingbits","description":"twr-bigint: simple to use C Big Integer (bigint) library","archived":false,"fork":false,"pushed_at":"2024-06-14T14:19:42.000Z","size":226,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-01T01:11:19.023Z","etag":null,"topics":["biginteger","biginteger-bigint","biginteger-integer","biginteger-library","bigintegers","c"],"latest_commit_sha":null,"homepage":"","language":"C","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/twiddlingbits.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":"2023-12-26T21:42:58.000Z","updated_at":"2024-06-21T12:53:24.000Z","dependencies_parsed_at":"2024-06-14T15:46:41.534Z","dependency_job_id":"7b7c81db-e950-48f3-8b07-def509304cf6","html_url":"https://github.com/twiddlingbits/twr-bigint","commit_stats":null,"previous_names":["ajwood1965/twr-bigint","twiddlingbits/twr-bigint"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/twiddlingbits%2Ftwr-bigint","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/twiddlingbits%2Ftwr-bigint/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/twiddlingbits%2Ftwr-bigint/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/twiddlingbits%2Ftwr-bigint/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/twiddlingbits","download_url":"https://codeload.github.com/twiddlingbits/twr-bigint/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245718764,"owners_count":20661161,"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":["biginteger","biginteger-bigint","biginteger-integer","biginteger-library","bigintegers","c"],"created_at":"2025-02-01T01:11:07.486Z","updated_at":"2025-03-26T19:20:49.754Z","avatar_url":"https://github.com/twiddlingbits.png","language":"C","readme":"# Big Integer C Library\n\ntwr-bigint.c, twr-bigint.h\n\nThis big integer code allows operations on an integer of an arbitrary large number of bits.\n\nThis implementation of an unsigned big integer has the following benefits:\n   - easy to incorporate into your project\n\t\t- copy bigint.c and bigint.h\n   - has no external dependencies (for example, does not use stdlib)\n   - is implemented in C\n   - is simple, small, lightweight\n\n## To Use In Your Project\ncopy bigint.c and bigint.h into your project.\n\nThis bigint library is also available as part of my twr-wasm library (for which it was created, to implement various float functions).\n\n## Documentation\nSee bigint.h for a list of functions available.\n\nSee factorial.c for a simple example.\n\nFunctions are available for multiplication, division, addition, subtraction, bit manipulation, base 10 and 2 integer logarithms, power (exponent), digit counting, text conversion (for printing or inputting ASCII), and comparison.\n\nThe bigint is an array of 32 bit words of arbitrary length.  This implementation uses a fix size bigint.  You can change the size in the bigint.h file.  This method was helpful for use with my wasm crt since it allows bigints that don't use malloc.  This also allows bigint to be implemented without depending on a crt (c runtime library) and makes it easy to allocate bigints on the stack.\n\n## Makefile\nThe GNU makefile will build the unit tests and the factorial example.\n\n## Author\nWritten by Anthony Wood\n2023\n\n\n\n\n\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftwiddlingbits%2Ftwr-bigint","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftwiddlingbits%2Ftwr-bigint","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftwiddlingbits%2Ftwr-bigint/lists"}