Commit d50251a5 authored by Tudor Bosman's avatar Tudor Bosman

(minor changes, part of unrelated diff)

Test Plan: No

Reviewed By: lucian@fb.com

FB internal diff: D515713
parent 7488db1c
......@@ -24,7 +24,7 @@
* findLastSet(x)
* find last (most significant) bit set in a value of an integral type,
* 1-based. 0 = no bits are set (x == 0)
* for x != 0, findFirstSet(x) == 1 + floor(log2(x))
* for x != 0, findLastSet(x) == 1 + floor(log2(x))
*
* nextPowTwo(x)
* Finds the next power of two >= x.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment