{"id":13629875,"url":"https://github.com/calccrypto/uint256_t","last_synced_at":"2025-04-13T05:06:00.441Z","repository":{"id":13666409,"uuid":"16360053","full_name":"calccrypto/uint256_t","owner":"calccrypto","description":"C++ unsigned 256 bit integer type","archived":false,"fork":false,"pushed_at":"2025-01-07T01:27:17.000Z","size":95,"stargazers_count":177,"open_issues_count":4,"forks_count":44,"subscribers_count":9,"default_branch":"master","last_synced_at":"2025-04-13T05:05:43.455Z","etag":null,"topics":["c-plus-plus","unsigned-integers"],"latest_commit_sha":null,"homepage":"","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/calccrypto.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}},"created_at":"2014-01-29T21:42:31.000Z","updated_at":"2025-03-25T21:48:21.000Z","dependencies_parsed_at":"2025-01-16T19:14:01.845Z","dependency_job_id":"df79f003-5db2-4ef1-a50d-955f56583f3c","html_url":"https://github.com/calccrypto/uint256_t","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/calccrypto%2Fuint256_t","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/calccrypto%2Fuint256_t/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/calccrypto%2Fuint256_t/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/calccrypto%2Fuint256_t/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/calccrypto","download_url":"https://codeload.github.com/calccrypto/uint256_t/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248665749,"owners_count":21142123,"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":["c-plus-plus","unsigned-integers"],"created_at":"2024-08-01T22:01:22.505Z","updated_at":"2025-04-13T05:06:00.402Z","avatar_url":"https://github.com/calccrypto.png","language":"C++","funding_links":[],"categories":["C++"],"sub_categories":[],"readme":"# uint256_t\n\nAn unsigned 256 bit integer type for C++\n\nCopyright (c) 2013 - 2018 Jason Lee @ calccrypto at gmail.com\n\nPlease see LICENSE file for license.\n\n[![uint256_t](https://github.com/calccrypto/uint256_t/actions/workflows/uint256_t.yml/badge.svg)](https://github.com/calccrypto/uint256_t/actions/workflows/uint256_t.yml)\n\n## Acknowledgements\nWith much help from Auston Sterling\n\nThanks to Stefan Deigmüller for finding\na bug in operator*.\n\nThanks to François Dessenne for convincing me\nto do a general rewrite of this class.\n\nThanks to John Skaller for making symbols visible\nwhen compiling as a shared library.\n\n## Usage\nThis is simple implementation of an unsigned 256 bit\ninteger type in C++. It's meant to be used like a standard\n`uintX_t`, except with a larger bit size than those provided\nby C/C++.\n\n`uint256_t` requires [`uint128_t`](https://github.com/calccrypto/uint128_t), which is included.\n\n### In Code\nAll that needs to be done in code is `#include \"uint256_t.h\"`\n\n```c++\n#include \u003ciostream\u003e\n#include \"uint256_t.h\"\n\nint main() {\n    uint256_t a = 1;\n    uint256_t b = 2;\n    std::cout \u003c\u003c (a | b) \u003c\u003c std::endl;\n    return 0;\n}\n```\n\n### Compilation\nA C++ compiler supporting at least C++11 is required.\n\nCompilation can be done by directly including `uint128_t.cpp` and `uint256_t.cpp` in your compile command, e.g. `g++ -std=c++11 main.cpp uint128_t.cpp uint256_t.cpp`, or other ways, such as linking the `uint128_t.o` and `uint256_t.o` files, or creating a library, and linking the library in.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcalccrypto%2Fuint256_t","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcalccrypto%2Fuint256_t","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcalccrypto%2Fuint256_t/lists"}