if (args.length != 2) {
throw new IllegalArgumentException("math.pow(base,exp)");
}
Number left = FunctionUtils.getNumberValue(0, args, env);
Number right = FunctionUtils.getNumberValue(1, args, env);
return new AviatorDouble(Math.pow(left.doubleValue(), right.doubleValue()));
}