I work at NASA, supporting the person who wrote the codes that is now used for planetary dynamics simulation, like this. It is an extraordinarily complex problem, and a specialized academic discipline in its own right.
n-body dynamics is a complicated, chaotic system. Getting any precision at all over any reasonable period of time is a feat of itself.