by byuu · 7y ago · 0 comments
This is one of my favorite sites on the internet: https://graphics.stanford.edu/~seander/bithacks.html
I recommend Matt Godbolt's Talk(s) about compiler cleverness: https://www.youtube.com/watch?v=bSkpMdDe4g4 (see the 30 minute mark for the multiplication example)
> This is one of my favorite sites on the internet: https://graphics.stanford.edu/~seander/bithacks.html
Yes - I also enjoyed the book "Hacker's Delight", but haven't got round to reading the second edition yet.