MCPcopy
hub / github.com/rollup/rollup / log

Function log

test/form/samples/supports-core-js/_expected.js:9373–9384  ·  view source on GitHub ↗
(x)

Source from the content-addressed store, hash-verified

9371 };
9372
9373 var log = function (x) {
9374 var n = 0;
9375 var x2 = x;
9376 while (x2 >= 4096) {
9377 n += 12;
9378 x2 /= 4096;
9379 }
9380 while (x2 >= 2) {
9381 n += 1;
9382 x2 /= 2;
9383 } return n;
9384 };
9385
9386 var multiply = function (data, n, c) {
9387 var index = -1;

Callers 15

packFunction · 0.70
requireMathLog1pFunction · 0.70
requireEs_math_acoshFunction · 0.70
asinhFunction · 0.70
requireEs_math_atanhFunction · 0.70
requireEs_math_clz32Function · 0.70
requireMathLog10Function · 0.70
requireEs_math_log2Function · 0.70
requireEs_number_toFixedFunction · 0.70
requireEs5ShimFunction · 0.50
aMethod · 0.50
[foo]Method · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected