lkml.org 
[lkml]   [2001]   [Dec]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
Subjectbitops.h

Quick question: I see that there is support for both zero- and
one-based bitmasks (e.g. ffs() vs. ffz()). Are there technical
reasons to prefer one over the other? Or is this just a matter
of preference, or whatever lends itself best to the task at
hand? (It seems as though I have seen some reference to this
prevously, but I am unable to find anything in the archives.)

- Russ


--
Russ Weight (rweight@us.ibm.com)
Linux Technology Center
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:14    [from the cache]
©2003-2011 Jasper Spaans. Advertise on this site