We explicit the link between the computer arithmeticproblem ofproviding correctly rounded algebraic functions and somediophantine approximation issues. This allows to get bounds on the accuracy with which intermediate calculations must be performed to correctly round these functions.