Skip to content

mp++ 3.0.0

Latest

Choose a tag to compare

@bluescarni bluescarni released this 27 Nov 12:57

mp++ 3.0.0 is a new major release. The minimum C++ standard is now C++20. All the compatibility code for earlier standards, including the emulation of concepts, has been removed.

Breaking changes

  • C++20 is now required.
  • New minimum dependency versions: MPFR >= 4.1.0 and {fmt} >= 11.
    When both MPFR and quadmath support are enabled, MPFR must also be built
    with binary128 support (with Clang or GCC < 13, MPFR >= 4.2.2 is needed).
  • Removed: the pybind11 integration header (mp++/extra/pybind11.hpp),
    support for the classic Intel C++ compiler and the MPPP_HAVE_STRING_VIEW definition.
  • mp++'s headers now include fmt/base.h rather than fmt/core.h, and an invalid
    format spec now raises fmt::format_error.

Fixes

  • Conversions between real and real128 (and between complex and complex128)
    are now correctly rounded.
  • Fixed the detection of the quadmath header when compiling with Clang.

See the changelog for the full list of changes.