- 337

- 167

**NOTE:This is not a homework question! This is just a topic that I like very much,but don’t have the programming ability to do many of them.That’s why I post this thread.**

C++ is a language without built-in big integer calculation functions,so building ones that can do such job is a great way to practice algorithm testing skills.

For the past couple days,I’ve been searching on the internet for functions capable of doing such calculations,but most of them depends on methods that need to “cout” it’s result digit by digit and unable to return it. That makes them useless when I need to perform several different types of operations in a row on the same input.

So,I would be pleased if I can have functions that can return the result using std::string or int.

The tasks I will need to perform are:

- Adding
- Subtracting
- Multiplying
- Dividing
- Square root
- Exponent
- Logarithms
- Modulus(the remainder one,not ##|x|##)

**The big integer that I am talking about are ones over ##10^{500}##**

Last edited: