Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/17xr/powerinteger

C++ Header for Computing Powers of Big Integers Using GNU MP Bignum Library
https://github.com/17xr/powerinteger

cpp cpp-library cpp23 cpp23-library mathematics

Last synced: about 6 hours ago
JSON representation

C++ Header for Computing Powers of Big Integers Using GNU MP Bignum Library

Awesome Lists containing this project

README

        

- A C++ header based on [GMP Library](https://gmplib.org/) to compute the power of big integers.
- Include the **power_intege** header in your C++ source file.
- Use the **pow_int(int base, int exponent)** funtion to calcute **base ^ exponent** and return the result as **std::optional<>**.