Mozilla Public License 2.0

项目介绍

bluescarni/mppp 是一个托管在 GitHub 上的开源项目,主要使用 C++ 编写,采用 Mozilla Public License 2.0 许可证,目前获得 320 个 Star、29 次 Fork。

仓库全名
bluescarni/mppp
开源许可证
Mozilla Public License 2.0
Star 数
320
Fork 数
29
未关闭 Issue
10

README 摘要

mp++ Multiprecision for C++ Explore the docs » Report bug · Request feature · Discuss mp++ is a C++11/14/17/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…

完整内容见 GitHub 原始 README 或本页 。

常见问题

mppp 用什么语言开发?

主要使用 C++ 编写,采用 Mozilla Public License 2.0 许可证,目前有 320 个 Star。

mppp 可以免费商用吗?

仓库标注的许可证为 Mozilla Public License 2.0,商用前请先阅读仓库 LICENSE 文件确认授权范围。

如何获取 mppp 的源码?

可以直接克隆仓库:git clone https://github.com/bluescarni/mppp.git;安装与运行步骤见仓库 README。

mppp 最近还在维护吗?

仓库最近一次更新为 2024年12月10日,当前有 10 个未关闭 Issue;Star 数为 320,可作为社区活跃度的参考。

关于

GitHub 原始描述(英文)

Multiprecision for modern C++

描述取自 GitHub 官方 API,保持仓库作者书写的原文。

语言占比

Batchfile
C++
CMake
Python
Shell

Release

README

mp++

Build Status Build Status language language language Code Coverage Join the chat at https://gitter.im/bluescarni/mppp Anaconda-Server Badge


Multiprecision for C++
Explore the docs »

Report bug · Request feature · Discuss

mp++ is a C++11/14/17/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:

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.

评论

暂无评论