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 (
https://www.boost.org/doc/libs/1_76_0/libs/multiprecision/doc/html/index.html).
There are other big integer libraries and there have been other proposals
including `integer`, proposed in (N4038) and mentioned in (
https://wg21.link/p1890r0).
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.
Cheers,
John
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 (
https://www.boost.org/doc/libs/1_76_0/libs/multiprecision/doc/html/index.html).
There are other big integer libraries and there have been other proposals
including `integer`, proposed in (N4038) and mentioned in (
https://wg21.link/p1890r0).
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.
Cheers,
John
Received on 2021-05-25 03:58:53