MCPcopy Index your code
hub / github.com/angular/angular / numberTimesBigInt

Function numberTimesBigInt

packages/service-worker/worker/src/sha1.ts:209–217  ·  view source on GitHub ↗
(num: number, b: string)

Source from the content-addressed store, hash-verified

207}
208
209function numberTimesBigInt(num: number, b: string): string {
210 let product = '';
211 let bToThePower = b;
212 for (; num !== 0; num = num >>> 1) {
213 if (num & 1) product = addBigInt(product, bToThePower);
214 bToThePower = addBigInt(bToThePower, bToThePower);
215 }
216 return product;
217}

Callers 1

byteStringToDecStringFunction · 0.70

Calls 1

addBigIntFunction · 0.70

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…