Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit aa9de267 authored by satok's avatar satok Committed by Android (Google) Code Review
Browse files

Merge "Enable fast power"

parents fd78781c 0b6b0a5a
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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;