MCPcopy Create free account
hub / github.com/idank/explainshell / d3_asin

Function d3_asin

explainshell/web/static/js/d3.v3.js:1290–1292  ·  view source on GitHub ↗
(x)

Source from the content-addressed store, hash-verified

1288 return Math.acos(Math.max(-1, Math.min(1, x)));
1289 }
1290 function d3_asin(x) {
1291 return x > 1 ? π / 2 : x < -1 ? -π / 2 : Math.asin(x);
1292 }
1293 function d3_sinh(x) {
1294 return (Math.exp(x) - Math.exp(-x)) / 2;
1295 }

Callers 1

d3.v3.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected