Source: https://www.lyceedadultes.fr/sitepedagogique/documents/math/mathTermS/06_fonction_logarithme/06_cours_algorithme_cordic.pdf