{"id":16692538,"url":"https://github.com/ckormanyos/mp_cpp","last_synced_at":"2026-02-02T03:35:54.740Z","repository":{"id":204444556,"uuid":"711853469","full_name":"ckormanyos/mp_cpp","owner":"ckormanyos","description":"Legacy multiple-precision C++ library with examples","archived":false,"fork":false,"pushed_at":"2024-10-20T11:16:34.000Z","size":2553,"stargazers_count":1,"open_issues_count":3,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-26T11:05:16.732Z","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":"bsl-1.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ckormanyos.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":"2023-10-30T10:01:33.000Z","updated_at":"2024-10-20T11:16:36.000Z","dependencies_parsed_at":"2023-11-18T04:27:58.380Z","dependency_job_id":"ccb5b3cb-0fc0-4432-9d75-898807098437","html_url":"https://github.com/ckormanyos/mp_cpp","commit_stats":null,"previous_names":["ckormanyos/mp_cpp"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ckormanyos%2Fmp_cpp","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ckormanyos%2Fmp_cpp/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ckormanyos%2Fmp_cpp/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ckormanyos%2Fmp_cpp/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ckormanyos","download_url":"https://codeload.github.com/ckormanyos/mp_cpp/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248599295,"owners_count":21131257,"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":[],"created_at":"2024-10-12T16:27:28.879Z","updated_at":"2026-02-02T03:35:54.720Z","avatar_url":"https://github.com/ckormanyos.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"mp_cpp\n==================\n\n\u003cp align=\"center\"\u003e\n    \u003ca href=\"https://github.com/ckormanyos/mp_cpp/actions\"\u003e\n        \u003cimg src=\"https://github.com/ckormanyos/mp_cpp/actions/workflows/mp_cpp.yml/badge.svg\" alt=\"Build Status\"\u003e\u003c/a\u003e\n\u003c/p\u003e\n\n---\n**NOTE**\n\n`mp_cpp` preserves a _legacy_ library. More modern work can be found in the [wide-decimal](https://github.com/ckormanyos/wide-decimal) project.\n\n---\n\n`mp_cpp` preserves a legacy _Multiple_-_Precision_ _C++_ library.\nIt is the first successful attempt I had ever made at a multiple-precision,\n_big_-_float_ class in the C++ language.\n\nInitial work began sometime late last century in the early 1990's\nand wrapped up around 2002.\n\nContinuous maintenance has kept the library up-to-date\nand compatible with modern C++. A sample wrapper for\n[`Boost.Multiprecision`](https://www.boost.org/doc/libs/1_88_0/libs/multiprecision/doc/html/index.html)\nwas made somewhere around 2015 and is still maintained (see notes below).\n\n## Description\n\n`mp_cpp` implements a multiple-precision library with adjustable\nprecision ranging from hundreds, to thousands, to millions of decimal digits.\nThe precision can be set during run time, but set once only,\npreferably prior to any `mp_cpp`-operations are carried out.\n\nThe library offers many functions. This project also features tests\nand a variety of non-trivial examples, including a somewhat fast\n_million_ (i.e., $10^{6}$) decimal-digit $\\pi$-calculation.\n\n`mp_cpp` still compiles and runs on modern C++ compilers\nfrom C++14, 17, 20, 23 and beyond.\n\nThis original work was subsequently cloned, renamed and adapted to become\n[`e_float`](https://github.com/ckormanyos/e_float-2021),\nwhich itself ultimately provided some motivation for\n[`Boost.Multiprecision`](https://www.boost.org/doc/libs/1_88_0/libs/multiprecision/doc/html/index.html).\n\n## Boost.Multiprecision Backend\n\n`mp_cpp` also features a full [backend-wrapper](./boost/multiprecision/mp_cpp_backend.hpp)\nfor use with [`Boost.Multiprecision`](https://www.boost.org/doc/libs/1_88_0/libs/multiprecision/doc/html/index.html)\nand [`Boost.Math`](https://www.boost.org/doc/libs/1_88_0/libs/math/doc/html/index.html).\nThis ties an old legacy project together with modern\ntemplate representations of _big_-_floats_ and implementations\nof mathematical functions.\n\n## Continuous Integration\n\nContinuous integration runs on push using GitHub Actions.\nVarious compilers, operating systems and C++ standards\nare included in CI.\nSanitizer runs add improved confidence to the code-integrity.\n\n## Licensing\n\nThe big-number and mathematical-function implementations in `mp_cpp`\nare licensed under BSL.\n\nThis work makes additional use of [FFTW](https://www.fftw.org/)\nversion 2.15 for fast FFT multiplication, which has its own separate\n[license](https://www.fftw.org/faq/section1.html#isfftwfree).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fckormanyos%2Fmp_cpp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fckormanyos%2Fmp_cpp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fckormanyos%2Fmp_cpp/lists"}