| Index: src/math.js
|
| diff --git a/src/math.js b/src/math.js
|
| index a8c42f47a96c6a70c9dc895f354c44d84ded0ed1..cc478d344895361648b0bdba55a7bc5a96822e8d 100644
|
| --- a/src/math.js
|
| +++ b/src/math.js
|
| @@ -227,11 +227,6 @@ function MathAtanh(x) {
|
| return 0.5 * MathLog((1 + x) / (1 - x));
|
| }
|
|
|
| -// ES6 draft 09-27-13, section 20.2.2.22.
|
| -function MathLog2(x) {
|
| - return MathLog(x) * 1.442695040888963407; // log2(x) = log(x)/log(2).
|
| -}
|
| -
|
| // ES6 draft 09-27-13, section 20.2.2.17.
|
| function MathHypot(x, y) { // Function length is 2.
|
| // We may want to introduce fast paths for two arguments and when
|
| @@ -364,7 +359,7 @@ function SetUpMath() {
|
| "acosh", MathAcosh,
|
| "atanh", MathAtanh,
|
| "log10", MathLog10, // implemented by third_party/fdlibm
|
| - "log2", MathLog2,
|
| + "log2", MathLog2, // implemented by third_party/fdlibm
|
| "hypot", MathHypot,
|
| "fround", MathFroundJS,
|
| "clz32", MathClz32,
|
|
|