Source: https://profmath.uqam.ca/~boileau/Fichiers/RegleSignes/Regle_signes.pdf