From 89e95b3f143682ed9a006991bacf45c9dcba4818 Mon Sep 17 00:00:00 2001 From: ruki Date: Thu, 8 Nov 2018 00:43:05 +0800 Subject: remove node_modules --- .../math-expression-evaluator/src/math_function.js | 120 --------------------- 1 file changed, 120 deletions(-) delete mode 100755 node_modules/math-expression-evaluator/src/math_function.js (limited to 'node_modules/math-expression-evaluator/src/math_function.js') diff --git a/node_modules/math-expression-evaluator/src/math_function.js b/node_modules/math-expression-evaluator/src/math_function.js deleted file mode 100755 index 18d46ed6..00000000 --- a/node_modules/math-expression-evaluator/src/math_function.js +++ /dev/null @@ -1,120 +0,0 @@ - var Mexp=function(parsed){ - this.value=parsed; - - }; - - Mexp.math={ - isDegree:true, //mode of calculator - acos:function(x){ - return (Mexp.math.isDegree?180/Math.PI*Math.acos(x):Math.acos(x)); - }, - add:function(a,b){ - return a+b; - }, - asin:function(x){ - return (Mexp.math.isDegree?180/Math.PI*Math.asin(x):Math.asin(x)); - }, - atan:function(x){ - return (Mexp.math.isDegree?180/Math.PI*Math.atan(x):Math.atan(x)); - }, - acosh:function(x){ - return Math.log(x+Math.sqrt(x*x-1)); - }, - asinh:function(x){ - return Math.log(x+Math.sqrt(x*x+1)); - }, - atanh:function(x){ - return Math.log((1+x)/(1-x)); - }, - C:function(n,r){ - var pro=1,other=n-r,choice=r; - if(choice