Skip to content
Commit 84fcbdea authored by Michael Gottesman's avatar Michael Gottesman
Browse files

[APInt] Fix nearestLogBase2 to return correct answers for very large APInt and...

[APInt] Fix nearestLogBase2 to return correct answers for very large APInt and APInt with a bitwidth of 1.

I also improved the comments, added some more tests, etc.

llvm-svn: 199610
parent 073af74e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment