(x)
| 7622 | }; |
| 7623 | function d3_scale_log(linear, base, positive, domain) { |
| 7624 | function log(x) { |
| 7625 | return (positive ? Math.log(x < 0 ? 0 : x) : -Math.log(x > 0 ? 0 : -x)) / Math.log(base); |
| 7626 | } |
| 7627 | function pow(x) { |
| 7628 | return positive ? Math.pow(base, x) : -Math.pow(base, -x); |
| 7629 | } |
no outgoing calls
no test coverage detected