aboutsummaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorMarshall Lochbaum <mwlochbaum@gmail.com>2022-11-24 08:06:22 -0500
committerMarshall Lochbaum <mwlochbaum@gmail.com>2022-11-24 08:06:22 -0500
commit9997b5b5edcab4fccb2485ef54faa2d27225c411 (patch)
tree7cd026330637278e8a0059c393d2f40c9f12b14a /docs
parent0bfe40cbd731ffd0f5f97ebb08f76560734f1c3b (diff)
BREAKING: remove constants (ln2, etc) from •math
Diffstat (limited to 'docs')
-rw-r--r--docs/bqn.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/bqn.js b/docs/bqn.js
index 60a08200..c5e0b475 100644
--- a/docs/bqn.js
+++ b/docs/bqn.js
@@ -669,7 +669,7 @@ let mathfn = f => {
}
let trig = "cos cosh sin sinh tan tanh".split(" ");
let mathns = obj2ns(Math,
- trig.concat(trig.map(n=>"a"+n),"LN10 LN2 LOG10E LOG2E cbrt expm1 hypot log10 log1p log2 round trunc atan2".split(" ")),
+ trig.concat(trig.map(n=>"a"+n),"cbrt expm1 hypot log10 log1p log2 round trunc atan2".split(" ")),
f=>typeof f==="function"?mathfn(f):f
);
trig.map((_,i)=>{let f=mathns[i],g=mathns[i+trig.length]; f.inverse=g; g.inverse=f;});