{"id":17675909,"url":"https://github.com/allemanfredi/eosio-biginteger","last_synced_at":"2025-03-30T17:23:21.579Z","repository":{"id":123033782,"uuid":"198781278","full_name":"allemanfredi/eosio-biginteger","owner":"allemanfredi","description":"BigInteger implementation for EOSIO.cdt v1.6","archived":false,"fork":false,"pushed_at":"2019-07-26T13:01:30.000Z","size":29,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-05T19:12:40.372Z","etag":null,"topics":["blockchain","cpp","eosio","eosio-biginteger"],"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/allemanfredi.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":"2019-07-25T07:32:36.000Z","updated_at":"2019-08-22T23:27:27.000Z","dependencies_parsed_at":null,"dependency_job_id":"2a527ed4-9472-4f22-a4fa-0beb4311f02f","html_url":"https://github.com/allemanfredi/eosio-biginteger","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/allemanfredi%2Feosio-biginteger","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/allemanfredi%2Feosio-biginteger/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/allemanfredi%2Feosio-biginteger/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/allemanfredi%2Feosio-biginteger/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/allemanfredi","download_url":"https://codeload.github.com/allemanfredi/eosio-biginteger/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246352031,"owners_count":20763401,"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":["blockchain","cpp","eosio","eosio-biginteger"],"created_at":"2024-10-24T07:23:50.547Z","updated_at":"2025-03-30T17:23:21.557Z","avatar_url":"https://github.com/allemanfredi.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# eosio-biginteger\n\nRefactoring of [this repo](https://github.com/playerone-id/biginteger-for-eosio) to be compatible with EOSIO.cdt v1.6.\n\n## Original Author\n\nMatt McCutchen ( [C++ Big Integer Library](https://mattmccutchen.net/bigint/) ) \n\n## Added Features\n\n* __`addmod(a,b,c)`__ =\u003e (a + b) % c\n* __`submod(a,b,c)`__ =\u003e (a - b) % c\n* __`mulmod(a,b,c)`__ =\u003e (a * b) % c\n* __`divmod(a,b,c)`__ =\u003e (a / b) % c = ((a mod c) * (b^(-1) mod c)) mod c\n\n## Use \n\n```c++\n#include \"BigIntegerLibrary.hpp\" \n#include \u003ceosio/eosio.hpp\u003e\nBigInteger a = 65536;  \nprint(\"a * a * a * a * a * a * a * a: \", ( a * a * a * a * a * a * a * a ) ); \n```\n\n## Build \n\n```\neosio-cpp your_file_name.cpp eos_mem_wrapper.cpp BigInteger.cpp BigIntegerAlgorithms.cpp BigIntegerUtils.cpp BigUnsigned.cpp BigUnsignedInABase.cpp  -o your_file_name.wasm\n```\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fallemanfredi%2Feosio-biginteger","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fallemanfredi%2Feosio-biginteger","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fallemanfredi%2Feosio-biginteger/lists"}