projects
/
folly.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7488db1
)
(minor changes, part of unrelated diff)
author
Tudor Bosman
<tudorb@fb.com>
Tue, 10 Jul 2012 20:40:31 +0000
(13:40 -0700)
committer
Tudor Bosman
<tudorb@fb.com>
Fri, 13 Jul 2012 23:29:32 +0000
(16:29 -0700)
Test Plan: No
Reviewed By: lucian@fb.com
FB internal diff:
D515713
folly/Bits.h
patch
|
blob
|
history
diff --git
a/folly/Bits.h
b/folly/Bits.h
index 6413252f01597f45e852c7ea563e319ad0c27bf9..f97ada8e5aaa076b0296d3cb934766855e7fc6fc 100644
(file)
--- a/
folly/Bits.h
+++ b/
folly/Bits.h
@@
-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, find
Fir
stSet(x) == 1 + floor(log2(x))
+ * for x != 0, find
La
stSet(x) == 1 + floor(log2(x))
*
* nextPowTwo(x)
* Finds the next power of two >= x.