Giter Club home page Giter Club logo

mppp's Introduction

mp++

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

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.

โš ๏ธ mp++ is under active development, and, although we try not to break the API gratuitously, backwards-incompatible changes do happen from time to time. The API will be stabilised with the upcoming release of version 1.0.

mppp's People

Contributors

andrewcorrigan avatar bluescarni avatar darioizzo avatar gitter-badger avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.