MCPcopy Create free account
hub / github.com/jipegit/OSXAuditor / pow

Function pow

d3-3.2.8/d3.js:6834–6836  ·  view source on GitHub ↗
(x)

Source from the content-addressed store, hash-verified

6832 return (positive ? Math.log(x < 0 ? 0 : x) : -Math.log(x > 0 ? 0 : -x)) / Math.log(base);
6833 }
6834 function pow(x) {
6835 return positive ? Math.pow(base, x) : -Math.pow(base, -x);
6836 }
6837 function scale(x) {
6838 return linear(log(x));
6839 }

Callers 1

d3_scale_logFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected