Source: https://hautmathelin.fr/math/seconde/2_Cours_Chap_01_Ensemble_des_reels_et_intervalles.pdf