Ruud H.G. van Tol on Thu, 30 Mar 2023 19:03:53 +0200


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

bit_ffs



Might be interesting to add:

https://en.wikipedia.org/wiki/Find_first_set
https://www.man7.org/linux/man-pages/man3/ffs.3.html
https://www.go4expert.com/articles/builtin-gcc-functions-builtinclz-t29238/

Or are those too low-level?

bit_ffs, bit_ctz

-- Ruud