[ANN] gmpxx_mkII.h: Yet another GMP C++ Wrapper for High-Precision Calculations
Hans Åberg
haberg_1 at icloud.com
Thu Oct 10 22:52:37 CEST 2024
> On 9 Oct 2024, at 16:20, maho nakata <nakatamaho at outlook.com> wrote:
>
> I am pleased to announce the release of gmpxx_mkII.h, a new C++ wrapper designed to enhance high-precision arithmetic using the GMP library. This project is licensed under the 2-clause BSD license, offering flexible integration for both open-source and proprietary projects.
>
> Key Features of gmpxx_mkII.h:
>
> * High-Level Source Compatibility: gmpxx_mkII.h is designed to be highly compatible with the existing gmpxx.h, allowing for a smooth transition.
> * Enhanced Usability: The wrapper simplifies usage by removing template limitations and avoiding complex macros, providing a clearer and more maintainable interface.
In view of C++11 move operators and C++17 copy elision, I wonder if there is any performance gain by the use of templates. They seem to make user programming difficult. (I have my own C++ wrapper.) —Performance comparisons would be interesting.
More information about the gmp-discuss
mailing list