What happens when a spacecraft’s navigation system forgets the true value of pi? One developer’s simulator reveals the cosmic chaos.