Le 01/02/2021 à 21:23, Marco Antoniotti a écrit :
"Duh again", in the sense that I was stupid (again!)
For this kind of problems, you might want to read this book:
Hacker's Delight Henry S. Warren Addison-Wesley Professional, 2003
https://www.amazon.fr/gp/product/0201914654/ref=ox_sc_saved_title_5?smid=A2DP6GIDYN6OTH&psc=1
https://books.google.fr/books/about/Hacker_s_Delight.html?id=iBNKMspIlqEC