`  Notice that : as long as one does not cross any discontinuity of the step function sgn(f(x)). At those discontinuities, one should modify the value of the ``constant`` C to make the anti-derivatives equal, that is, the limit from the left and the limit from the right should be equal so that the whole anti-derivative is continuous.   `