Ended polynomial approximation