Compact Numerical Function Generators Based on Quadratic Approximation: Architecture and Synthesis Method