소개
Multiprecision for modern C++
과학 및 공학측정된 스타 증가
- in 24h
- 0
- in 7 days
- 0
- in 15 days
- 0
- in 1 month
- 기록 수집 중
서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.
README.md
Originalmp++
Multiprecision for C++
Explore the docs »
Report bug
·
Request feature
·
Discuss
mp++ is a C++20 library for multiprecision arithmetic, featuring:
- arbitrary-precision integers,
- arbitrary-precision rationals,
- quadruple-precision floats,
- quadruple-precision complex numbers,
- arbitrary-precision floats,
- arbitrary-precision complex numbers.
Design goals include:
- excellent performance for small integer and rational operands,
- easy embeddability in computer algebra systems and generic C++ libraries,
- a large collection of arbitrary-precision special functions,
- an ergonomic API based on modern C++ idioms.
Design non-goals include:
- support for fixed-size wide integrals (i.e., no
uint512_t, try Boost Multiprecision instead).
Built on top of the GNU multiprecision stack (GMP, MPFR, MPC), mp++ was initially conceived as a GMP wrapper with special focus on performance with small operands. In particular, a small buffer optimisation and custom implementations of basic mathematical primitives are instrumental in achieving a performance increase, with respect to GMP and other integer multiprecision libraries, which can be substantial (see the benchmarks section of the documentation).
Over time, mp++ has accrued many additional features, including multiprecision real and complex number types, and an expanding library of special functions (built in part on top of the excellent Arb library).
mp++ is a spinoff of the Piranha library, released under the MPL2 license. If you are using mp++ as part of your research, teaching, or other activities, we would be grateful if you could star the repository and/or cite our work. The DOI of the latest version and other citation resources are available at this link.
The documentation is available here.
관련 프로젝트 살펴보기
불러오는 중…