Text this: Interpolation and approximation of piecewise smooth functions.