Skip to content

mp++ 0.24

Pre-release
Pre-release
Compare
Choose a tag to compare
@bluescarni bluescarni released this 26 Jun 09:36
· 224 commits to master since this release

The main addition in this new mp++ release is support for output stream format flags for all the floating-point classes (both real-valued and complex-valued):

#include <iomanip>
#include <ios>

std::cout << std::scientific << std::setprecision(6) << real{1 / 3.} << '\n'; // "3.333333e-01"
std::cout << std::hexfloat << std::uppercase << complex{1.1, 1.3} << '\n';    // "(0X1.199999999999AP+0,0X1.4CCCCCCCCCCCDP+0)"
std::cout << std::fixed << std::showpoint << std::showpos << 42_rq << '\n';   // "+42.000000"

Additionally, the Lambert functions and the polylogarithms are now available for the real class.

Another important addition is that mp++'s conda packages are now available for the ARM64 and PPC64 architectures.

The full changelog, as usual, is available here:

https://bluescarni.github.io/mppp/changelog.html