Use spectral methods? But you’d presumably also have to use higher precision number types if you want that many digits.
(Of course arbitrary precision is far, far worse than double precision in terms of performance, which is why so much work goes into techniques that avoid increasing precision. But sometimes you have few enough instances to solve that you can simply eat the cost.)