MCPcopy Index your code
hub / github.com/jipegit/OSXAuditor / log

Function log

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

Source from the content-addressed store, hash-verified

6829 };
6830 function d3_scale_log(linear, base, positive, domain) {
6831 function log(x) {
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 }

Callers 2

scaleFunction · 0.85
d3_scale_logFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected