On Mon, Feb 01, 2021 at 10:40:38PM +0100, Pascal Bourguignon wrote: > 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 [snip]
also for an earlier reference https://dspace.mit.edu/bitstream/handle/1721.1/6086/AIM-239.pdf, which is full of interesting little problems. - Ross