(base)
| 107955 | } |
| 107956 | |
| 107957 | function powp(base) { |
| 107958 | return base === 10 ? pow10 : base === Math.E ? Math.exp : function (x) { |
| 107959 | return Math.pow(base, x); |
| 107960 | }; |
| 107961 | } |
| 107962 | |
| 107963 | function logp(base) { |
| 107964 | return base === Math.E ? Math.log : base === 10 && Math.log10 || base === 2 && Math.log2 || (base = Math.log(base), function (x) { |