Everything About ___
Live briefing

Everything about Find first set

Family of related bitwise operations on machine words

In computer software and hardware, find first set (ffs) or find first one is a bit operation which returns the index or position of the least significant 'one' bit in its argument, counting from the least significant bit. A related operation is count trailing zeros (ctz) or number of trailing zeros (ntz), which counts the number of zero bits following the least significant one bit. There are two common variants of find first set, the POSIX definition which starts indexing of bits at 1, herein labelled ffs, and the variant which starts indexing of bits at zero, which is equivalent to ctz. Wikipedia →

đź§­ Start here: a 6-step reading path

  1. Read the overview: Find first setA 5-minute orientation
  2. Pick up a classic book: Romeo and JulietThe most-reprinted book on the subject
  3. Go sideways: Hamming weightA closely related topic
  4. Go sideways: Bit manipulationA closely related topic

đź“– Definitions

No dictionary entry for this exact phrase.

🏆 Landmark papers (most cited)

📚 Books worth reading

Ranked by number of editions on Open Library, a rough measure of how lasting a book is.

đź”— Related topics