Full threadanother-cuppa·This is covered in more detail in the book Hacker's Delight. A recommended read.View on HN