Hello Wolfram, funloop.org owner/author here (also, thanks Geert for CC'ing me). Wolfram Sang <wsa+renesas@xxxxxxxxxxxxxxxxxxxx> writes: >> If you guys feel that you can explain the algorithm you're employing >> in a half-VGA-screen comment, it would be the best choice, and that's >> enough. > > I agree that in-kernel would be super-great to have. On the other hand, > I especially liked the *detailed* explanation of different approaches on > this website. Which is helpful for users wondering if they can use the > new generic helper even though the algorithm they want to replace looks > different. Yet, this is not half a VGA-screen. I'm glad you found it useful! >> If it's impossible or you think that external reference is really needed, >> I trust you. But please refer the original source. In this case, it's: >> >> Warren, H. S. (2013). Hacker’s Delight (2nd ed), page 97. > > I decided against this reference. It is a great book, but why pay bucks > when there is freely available information for just this one topic. > Besides, the book is a collection of algorithms and references other > sources for this implementation as well. Maybe as a second reference? Adding as a second reference sounds like a good idea to me. You could also add the ISBN number of the book, although maybe that's overkill.