Mathematica can deal with arbitrary-precision numbers (or better said, Mathematica doesn't blindly use whatever underlying number format is present, it has precise controls for this sort of thing http://reference.wolfram.com/mathematica/tutorial/ArbitraryP...)