MCPcopy
hub / github.com/rollup/rollup / pow

Function pow

test/form/samples/supports-core-js/_expected.js:9369–9371  ·  view source on GitHub ↗
(x, n, acc)

Source from the content-addressed store, hash-verified

9367 var nativeToFixed = uncurryThis(1.0.toFixed);
9368
9369 var pow = function (x, n, acc) {
9370 return n === 0 ? acc : n % 2 === 1 ? pow(x, n - 1, acc * x) : pow(x * x, n / 2, acc);
9371 };
9372
9373 var log = function (x) {
9374 var n = 0;

Callers 9

requireEs5ShimFunction · 0.85
packFunction · 0.85
unpackFunction · 0.85
requireEs_math_cbrtFunction · 0.85
requireEs_number_toFixedFunction · 0.85
parseIPv4Function · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected