{"id":19936712,"url":"https://github.com/remaker01/biginteger","last_synced_at":"2026-06-11T15:31:26.232Z","repository":{"id":126801026,"uuid":"424608737","full_name":"Remaker01/Biginteger","owner":"Remaker01","description":"一个用C++写的用于学习的Biginteger类","archived":false,"fork":false,"pushed_at":"2023-07-20T03:09:02.000Z","size":398,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-01T12:26:38.478Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/Remaker01.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":"2021-11-04T13:37:51.000Z","updated_at":"2024-02-05T13:04:30.000Z","dependencies_parsed_at":"2024-11-12T23:28:27.045Z","dependency_job_id":"b6354aed-be74-479c-b7c4-6537c0f4adb2","html_url":"https://github.com/Remaker01/Biginteger","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Remaker01/Biginteger","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Remaker01%2FBiginteger","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Remaker01%2FBiginteger/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Remaker01%2FBiginteger/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Remaker01%2FBiginteger/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Remaker01","download_url":"https://codeload.github.com/Remaker01/Biginteger/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Remaker01%2FBiginteger/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34206487,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-11T02:00:06.485Z","response_time":57,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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-11-12T23:28:14.646Z","updated_at":"2026-06-11T15:31:26.125Z","avatar_url":"https://github.com/Remaker01.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"Github上格式化可能有问题，推荐看docs/zh_cn/html/index.html\u003cbr\u003e\n## Biginteger\n\u003cp\u003e一个用C++写的用于学习的Biginteger类。\u003c/p\u003e\n\u003cp\u003e本人是中国江苏某三流大学计算机专业的学生，受到Java中BigInteger类的启发，自己用C++ 写了一个大整数类，目前功能还很不完善，只支持加、减、乘、比较大小而且暂不支持负数。\u003c/p\u003e\n\u003cp\u003e关于具体使用方法，请参见docs/html，这是用doxygen自动生成的帮助文档。\u003c/p\u003e\n\u003cp\u003e欢迎提出任何有益的意见和建议。\u003c/p\u003e\n\u003csmall\u003e~~为了锻炼英语能力，当初写文档时都是用英文写的，现在早就懒得改了，希望见谅哈~~\u003c/small\u003e\n\u003cp\u003e-------------------------------------------------------------------------------------------------------------------------------\u003c/p\u003e\n\u003cp\u003e使用方法举例：\u003c/p\u003e\n\u003cpre\u003e\n#include \u0026lt;iostream\u0026gt;\n#include \u0026lt;string\u0026gt;\nusing std::cin;\nusing std::cout;\nint main() {\n    string s1,s2;\n    cin \u003e\u003e s1 \u003e\u003e s2;\n    Biginteger b1(s1),b2(s2.c_str());\n    try {\n        cout \u003c\u003c (b1 + b2).toString() \u003c\u003c '\\\\n';\n        cout \u003c\u003c (b1 - b2).toString() \u003c\u003c '\\\\n';\n        cout \u003c\u003c (b1 * b2).toString() \u003c\u003c '\\\\n';\n        cout \u003c\u003c (b1 / b2).toString() \u003c\u003c '\\\\n';\n        cout \u003c\u003c (b1.absolute() % b2.absolute()).toString() \u003c\u003c '\\\\n';\n    } catch(NumberFormatException \u0026e) {\n        cout \u003c\u003c e.what();\n    } catch(DivByZeroException \u0026e) {\n        cout \u003c\u003c e.what();\n    }\n    return 0;\n}\n\u003c/pre\u003e\n\u003cp\u003e开发环境：\u003c/p\u003e\n\u003cp\u003eIDE:CodeBlocks 20.03 \u003c/p\u003e\n\u003cp\u003e编译器:G++(MinGW 8.1.0) \u003c/p\u003e\n\u003cp\u003e已测试平台:Windows 10 x64,Intel CPU\u003c/p\u003e\n\u003cp\u003e[临时个人博客地址](https://blog.csdn.net/m0_51303687?spm=1011.2124.3001.5343)\u003c/p\u003e\n\n\u003cp\u003e--------------------------------------------------------------------------------------------------------------------------------------------------------\u003c/p\u003e\nThere may be some formatting errors on Github.See docs/en_us/html/index.html\u003cbr\u003e\nA BigInteger class written in C + + for learning.\u003cbr\u003e\nI am a computer major student of an ordinary university in Jiangsu, China. Inspired by the BigInteger class in Java, I have written this Biginteger class in C + +.\u003cbr\u003e\nAt present, It is not perfect and only support addition, subtraction, multiplication and comparison.Negative numbers is NOT supported temporarily.\u003cbr\u003e\nFor specific usage, please refer to docs / html, which is a help document automatically generated by Doxygen.\u003cbr\u003e\n\u003cem\u003eAll useful comments and suggestions are welcome.\u003c/em\u003e\n\u003cp\u003e-------------------------------------------------------------------------------------------------------------------------------\u003c/p\u003e\n\u003cp\u003eUsage examples: see codes above.\u003c/p\u003e\n\n\u003cp\u003eDevelopment Environment:\u003c/p\u003e\n\u003cp\u003eIDE: CodeBlocks 20.03 \u003c/p\u003e\n\u003cp\u003eCompiler: G + + (MinGW 8.1.0)\u003c/p\u003e\n\u003cp\u003eTested platforms: Windows 10 x64, Intel CPU\u003c/p\u003e\n\u003cp\u003e[Temporary Personal Blog Address](https://blog.csdn.net/m0_51303687?spm=1011.2124.3001.5343)\u003c/p\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fremaker01%2Fbiginteger","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fremaker01%2Fbiginteger","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fremaker01%2Fbiginteger/lists"}