{"id":22670186,"url":"https://github.com/calccrypto/uint128_t","last_synced_at":"2025-04-09T10:10:15.855Z","repository":{"id":13665845,"uuid":"16359484","full_name":"calccrypto/uint128_t","owner":"calccrypto","description":"C++ unsigned 128 bit integer type","archived":false,"fork":false,"pushed_at":"2023-06-24T15:05:14.000Z","size":2048,"stargazers_count":226,"open_issues_count":4,"forks_count":46,"subscribers_count":13,"default_branch":"master","last_synced_at":"2025-04-02T09:08:26.405Z","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:21:35.000Z","updated_at":"2025-03-28T00:12:21.000Z","dependencies_parsed_at":"2024-12-09T16:02:44.247Z","dependency_job_id":null,"html_url":"https://github.com/calccrypto/uint128_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%2Fuint128_t","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/calccrypto%2Fuint128_t/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/calccrypto%2Fuint128_t/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/calccrypto%2Fuint128_t/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/calccrypto","download_url":"https://codeload.github.com/calccrypto/uint128_t/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248018061,"owners_count":21034048,"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-12-09T15:52:36.674Z","updated_at":"2025-04-09T10:10:15.816Z","avatar_url":"https://github.com/calccrypto.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# uint128_t\n\nAn unsigned 128 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[![uint128_t](https://github.com/calccrypto/uint128_t/actions/workflows/uint128_t.yml/badge.svg)](https://github.com/calccrypto/uint128_t/actions/workflows/uint128_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. This was originally\ndone in `uint256_t`, which I copied into here.\n\n## Usage\nThis is simple implementation of an unsigned 128 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### In Code\nAll that needs to be done in code is `#include \"uint128_t.h\"`\n\n```c++\n#include \u003ciostream\u003e\n#include \"uint128_t.h\"\n\nint main() {\n    uint128_t a = 1;\n    uint128_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` in your compile command, e.g. `g++ -std=c++11 main.cpp uint128_t.cpp`, or other ways, such as linking the `uint128_t.o` file, or creating a library, and linking the library in.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcalccrypto%2Fuint128_t","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcalccrypto%2Fuint128_t","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcalccrypto%2Fuint128_t/lists"}