Added log2 for log-base-2 and also modified IsPower2 to use it.
authorVikram S. Adve <vadve@cs.uiuc.edu>
Sun, 19 May 2002 15:46:52 +0000 (15:46 +0000)
committerVikram S. Adve <vadve@cs.uiuc.edu>
Sun, 19 May 2002 15:46:52 +0000 (15:46 +0000)
commitbcfa423e3d1a2a385b56e3ec0f03137f0c33efc7
treed5a91ff13367fd628106da71e47d311e65c310df
parent14e3c4448677595697f300a7de4b185f1398b4bb
Added log2 for log-base-2 and also modified IsPower2 to use it.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2653 91177308-0d34-0410-b5e6-96231b3b80d8
include/Support/MathExtras.h
include/llvm/Support/MathExtras.h