|
|
|
@ -157,7 +157,7 @@ export const pi = Math.PI;
|
|
|
|
|
|
|
|
|
|
|
|
export function pow(x, y) {
|
|
|
|
export function pow(x, y) {
|
|
|
|
x = coerceArgToNumber(x, 'pow', 1);
|
|
|
|
x = coerceArgToNumber(x, 'pow', 1);
|
|
|
|
y = coercArgToNumber(y, 'pow', 2);
|
|
|
|
y = coerceArgToNumber(y, 'pow', 2);
|
|
|
|
return Math.pow(x, y);
|
|
|
|
return Math.pow(x, y);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|