double power(double base, int exp) {
    return pow(base, exp);
}