Merge "Enable fast power"

main
satok 2011-04-27 00:58:04 -07:00 committed by Android (Google) Code Review
commit aa9de26732
1 changed files with 1 additions and 1 deletions

View File

@ -429,7 +429,7 @@ inline static void multiplyIntCapped(const int multiplier, int *base) {
}
inline static int powerIntCapped(const int base, const int n) {
if (false && base == 2) {
if (base == 2) {
return n < 31 ? 1 << n : S_INT_MAX;
} else {
int ret = base;