How to compute first N digits of Euler number in c++?

42 Views Asked by At

I have a homework in which I need to compute and print out first 200 digits of Euler number. I am pretty much know how to compute it for double type using Taylor series, but it will compute only about 10 digits because of double precision. I need somehow 20x this precision in pure c++. I have no idea how to do it.

0

There are 0 best solutions below