{"id":30195056,"url":"https://github.com/niten01/bignum","last_synced_at":"2025-08-13T03:25:05.024Z","repository":{"id":220183546,"uuid":"750311415","full_name":"niten01/BigNum","owner":"niten01","description":"C++ library for long floating point arithmetics","archived":false,"fork":false,"pushed_at":"2024-05-09T06:55:07.000Z","size":5235,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-05-17T15:32:07.789Z","etag":null,"topics":["cpp","floating-point","library","long-arithmetics"],"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/niten01.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,"zenodo":null}},"created_at":"2024-01-30T12:01:17.000Z","updated_at":"2024-05-09T06:55:10.000Z","dependencies_parsed_at":"2024-02-07T17:27:57.778Z","dependency_job_id":"f01964e7-8228-49cf-9fb1-e7b96031b019","html_url":"https://github.com/niten01/BigNum","commit_stats":null,"previous_names":["lolitron-0/bignum","niten01/bignum"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/niten01/BigNum","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/niten01%2FBigNum","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/niten01%2FBigNum/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/niten01%2FBigNum/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/niten01%2FBigNum/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/niten01","download_url":"https://codeload.github.com/niten01/BigNum/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/niten01%2FBigNum/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":270174340,"owners_count":24539753,"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","status":"online","status_checked_at":"2025-08-13T02:00:09.904Z","response_time":66,"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":["cpp","floating-point","library","long-arithmetics"],"created_at":"2025-08-13T03:24:59.974Z","updated_at":"2025-08-13T03:25:05.009Z","avatar_url":"https://github.com/niten01.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# BigNum\nC++ library for long floating point arithmetics\n## Example\n\n```cpp\n#include \u003cBigNum/BigNum.hpp\u003e\n#include \u003ciostream\u003e\n\nusing namespace bignum::literals;\n\nint main()\n{\n    bignum::BigNum numFromString{ \"-234.567\" };\n    bignum::BigNum numFromBaseType1{ 12345 };\n    bignum::BigNum numFromBaseType2{ 12345.333 };\n    // User-defined literals\n    std::cout \u003c\u003c 1_BN - 0.43_BN;\n    std::cout \u003c\u003c \"6514.22\"_BN;\n\n    std::cout \u003c\u003c 1 / numFromString; // Implicit conversions\n    std::cout \u003c\u003c numFromString.inverse();\n\n    // 1000 digit precision (default 100)\n    bignum::BigNum::setMinimalPrecision(1000);\n    auto a{ -322.322_BN };\n    bignum::BigNum b{ 121.21 };\n    std::cout \u003c\u003c a + b \u003c\u003c std::endl;\n    std::cout \u003c\u003c a - b \u003c\u003c std::endl;\n    std::cout \u003c\u003c a * b \u003c\u003c std::endl;\n    std::cout \u003c\u003c a / b \u003c\u003c std::endl;\n\n    std::cout \u003c\u003c (a \u003c b) \u003c\u003c std::endl;\n    std::cout \u003c\u003c (a \u003e= b) \u003c\u003c std::endl;\n    std::cout \u003c\u003c (a == b) \u003c\u003c std::endl;\n    std::cout \u003c\u003c (a \u003c=\u003e b) \u003c\u003c std::endl;\n    return 0;\n}\n\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fniten01%2Fbignum","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fniten01%2Fbignum","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fniten01%2Fbignum/lists"}