C++ Logo


Advanced search

Re: Regarding new library in C++

From: John McFarlane <john_at_[hidden]>
Date: Tue, 25 May 2021 09:58:36 +0100
On Mon, 24 May 2021 at 12:37, Aditya Prasad via Std-Proposals <
std-proposals_at_[hidden]> wrote:

> I have developed a new library in C++, which has the functionality of
> handling very big integer calculations. Since, C++ does not have its own
> suitable library for this type of operation, I think my library would be
> very helpful in achieving it.
> Below is the repository on Github which contains the documentation and
> code related to this library.
> https://github.com/aditya1308/Big-Integers-CPP
> Hi Aditya,

Lénárd already mentioned Boost.Multiprecision (
There are other big integer libraries and there have been other proposals
including `integer`, proposed in (N4038) and mentioned in (

Using `std::string` to represent the number means that calculations are
less efficient than they could be. It also means that they cannot be used
in arithmetic expressions, because adding strings together appends them.


Received on 2021-05-25 03:58:53