Search code examples
c++mathprogramming-languagesnumbers

Extreme big/small number programming


I am trying to do some extreme precise maths calculation of very big/small number. The very big number may have 10 - 50 digits and the very small number may have 10 - 50 decimal places. Can C++ do this? If not is there any other programming language that can handle this kind of number?


Solution

  • C++ can do it with a library, for example the GNU Multiple Precision Arithmetic library.