| Index: src/js/math.js
|
| diff --git a/src/js/math.js b/src/js/math.js
|
| index 9224010ca640636616d6c0acaf4b135cbbbb6165..abb1251e3de113e831cdcd4b0efd511d4633c17f 100644
|
| --- a/src/js/math.js
|
| +++ b/src/js/math.js
|
| @@ -29,11 +29,6 @@ function MathAbs(x) {
|
| return (x > 0) ? x : 0 - x;
|
| }
|
|
|
| -// ECMA 262 - 15.8.2.8
|
| -function MathExp(x) {
|
| - return %MathExpRT(TO_NUMBER(x));
|
| -}
|
| -
|
| // ECMA 262 - 15.8.2.13
|
| function MathPowJS(x, y) {
|
| return %_MathPow(TO_NUMBER(x), TO_NUMBER(y));
|
| @@ -184,7 +179,6 @@ utils.InstallConstants(GlobalMath, [
|
| utils.InstallFunctions(GlobalMath, DONT_ENUM, [
|
| "random", MathRandom,
|
| "abs", MathAbs,
|
| - "exp", MathExp,
|
| "pow", MathPowJS,
|
| "sign", MathSign,
|
| "asinh", MathAsinh,
|
| @@ -203,7 +197,6 @@ utils.InstallFunctions(GlobalMath, DONT_ENUM, [
|
|
|
| utils.Export(function(to) {
|
| to.MathAbs = MathAbs;
|
| - to.MathExp = MathExp;
|
| to.IntRandom = MathRandomRaw;
|
| });
|
|
|
|
|