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

Function add32to64

packages/service-worker/cli/sha1.ts:63–67  ·  view source on GitHub ↗
(a: number, b: number)

Source from the content-addressed store, hash-verified

61}
62
63function add32to64(a: number, b: number): [number, number] {
64 const low = (a & 0xffff) + (b & 0xffff);
65 const high = (a >>> 16) + (b >>> 16) + (low >>> 16);
66 return [high >>> 16, (high << 16) | (low & 0xffff)];
67}
68
69function add64([ah, al]: [number, number], [bh, bl]: [number, number]): [number, number] {
70 const [carry, l] = add32to64(al, bl);

Callers 2

add32Function · 0.70
add64Function · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…