Add math builtins

This commit is contained in:
Brian Ng 2016-12-02 14:43:37 -06:00 committed by Henry Zhu
parent 7afe25bda1
commit 36c6fcaf23
2 changed files with 171 additions and 0 deletions

View File

@ -54,4 +54,21 @@ module.exports = {
"es6.function.name": 'function "name" property',
"es6.string.raw": "String static methods / String.raw",
"es6.string.from-code-point": "String static methods / String.fromCodePoint",
"es6.math.acosh": "Math methods / Math.acosh",
"es6.math.asinh": "Math methods / Math.asinh",
"es6.math.atanh": "Math methods / Math.atanh",
"es6.math.cbrt": "Math methods / Math.cbrt",
"es6.math.clz32": "Math methods / Math.clz32",
"es6.math.cosh": "Math methods / Math.cosh",
"es6.math.expm1": "Math methods / Math.expm1",
"es6.math.fround": "Math methods / Math.fround",
"es6.math.hypot": "Math methods / Math.hypot",
"es6.math.imul": "Math methods / Math.imul",
"es6.math.log1p": "Math methods / Math.log1p",
"es6.math.log10": "Math methods / Math.log10",
"es6.math.log2": "Math methods / Math.log2",
"es6.math.sign": "Math methods / Math.sign",
"es6.math.sinh": "Math methods / Math.sinh",
"es6.math.tanh": "Math methods / Math.tanh",
"es6.math.trunc": "Math methods / Math.trunc"
};

View File

@ -363,5 +363,159 @@
"safari": 9,
"node": 4,
"ios": 9
},
"es6.math.acosh": {
"chrome": 38,
"opera": 25,
"edge": 12,
"firefox": 25,
"safari": 7,
"node": 0.12,
"ios": 10
},
"es6.math.asinh": {
"chrome": 38,
"opera": 25,
"edge": 12,
"firefox": 25,
"safari": 7,
"node": 0.12,
"ios": 10
},
"es6.math.atanh": {
"chrome": 38,
"opera": 25,
"edge": 12,
"firefox": 25,
"safari": 7,
"node": 0.12,
"ios": 10
},
"es6.math.cbrt": {
"chrome": 38,
"opera": 25,
"edge": 12,
"firefox": 25,
"safari": 7,
"node": 0.12,
"ios": 10
},
"es6.math.clz32": {
"chrome": 38,
"opera": 25,
"edge": 12,
"firefox": 31,
"safari": 9,
"node": 0.12,
"ios": 9
},
"es6.math.cosh": {
"chrome": 38,
"opera": 25,
"edge": 12,
"firefox": 25,
"safari": 7,
"node": 0.12,
"ios": 10
},
"es6.math.expm1": {
"chrome": 38,
"opera": 25,
"edge": 12,
"firefox": 25,
"safari": 7,
"node": 0.12,
"ios": 10
},
"es6.math.fround": {
"chrome": 38,
"opera": 25,
"edge": 12,
"firefox": 26,
"safari": 7,
"node": 0.12,
"ios": 10
},
"es6.math.hypot": {
"chrome": 38,
"opera": 25,
"edge": 12,
"firefox": 27,
"safari": 7,
"node": 0.12,
"ios": 10
},
"es6.math.imul": {
"chrome": 30,
"opera": 17,
"edge": 12,
"firefox": 23,
"safari": 7,
"node": 0.12,
"android": 4.4,
"ios": 8
},
"es6.math.log1p": {
"chrome": 38,
"opera": 25,
"edge": 12,
"firefox": 25,
"safari": 7,
"node": 0.12,
"ios": 10
},
"es6.math.log10": {
"chrome": 38,
"opera": 25,
"edge": 12,
"firefox": 25,
"safari": 7,
"node": 0.12,
"ios": 10
},
"es6.math.log2": {
"chrome": 38,
"opera": 25,
"edge": 12,
"firefox": 25,
"safari": 7,
"node": 0.12,
"ios": 10
},
"es6.math.sign": {
"chrome": 38,
"opera": 25,
"edge": 12,
"firefox": 25,
"safari": 9,
"node": 0.12,
"ios": 9
},
"es6.math.sinh": {
"chrome": 38,
"opera": 25,
"edge": 12,
"firefox": 25,
"safari": 7,
"node": 0.12,
"ios": 10
},
"es6.math.tanh": {
"chrome": 38,
"opera": 25,
"edge": 12,
"firefox": 25,
"safari": 7,
"node": 0.12,
"ios": 10
},
"es6.math.trunc": {
"chrome": 38,
"opera": 25,
"edge": 12,
"firefox": 25,
"safari": 7,
"node": 0.12,
"ios": 10
}
}