Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This inline function finds the bit position of the most significant 1 bit in a word. It basically separates out code from another inline function, so that it can be called more generally. I took the liberty of clarifying the comment and explicitly #ifdef'ing out a line of code instead of relying on the optimizer to skip it.
- Loading branch information
1 parent
aa55012
commit cd0c6ec
Showing
4 changed files
with
45 additions
and
28 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters