One can compute the integral of a function using software, specifically one can get add doubles to obtain an approximate integral -- this is fast but suffers from rounding errors, or one can use arbitrary precision -- this is precise but generally slower.
I was wondering if it is possible to implement a middle-ground in hardware (thus obtaining something that is fast, and of bigger precision than doubles) by generating in hardware a wave that corresponds to the function to be integrated and using a simple circuit with a capacitor and a resistor to obtain the integral of the resulting wave? Are there implementations of such "hardware integrators" and are they used in practice?