A one-liner C function for interpolation.