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

Function d3_scale_logp

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

Source from the content-addressed store, hash-verified

6539 }
6540 var d3_scale_logFormat = d3.format(".0e");
6541 function d3_scale_logp(x) {
6542 return Math.log(x < 0 ? 0 : x);
6543 }
6544 function d3_scale_powp(x) {
6545 return Math.exp(x);
6546 }

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected