Computing the Inverse of a φ-Function by Rational Approximation