Nevanlinna Theory and Its Relation to Diophantine Approximation