Skip to content
This repository has been archived by the owner on May 11, 2018. It is now read-only.

Commit

Permalink
Add math builtins
Browse files Browse the repository at this point in the history
  • Loading branch information
existentialism authored and hzoo committed Dec 2, 2016
1 parent ad674d7 commit ac1f0a0
Show file tree
Hide file tree
Showing 2 changed files with 171 additions and 0 deletions.
17 changes: 17 additions & 0 deletions data/builtInFeatures.js
Original file line number Diff line number Diff line change
Expand Up @@ -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"
};
154 changes: 154 additions & 0 deletions data/builtIns.json
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
}

0 comments on commit ac1f0a0

Please sign in to comment.