Source: https://math.univ-lyon1.fr/~benzoni/MathIAnalyse/fonctions.pdf