(a: number, b: number)
| 344 | } |
| 345 | |
| 346 | function add32to64(a: number, b: number): [number, number] { |
| 347 | const low = (a & 0xffff) + (b & 0xffff); |
| 348 | const high = (a >>> 16) + (b >>> 16) + (low >>> 16); |
| 349 | return [high >>> 16, (high << 16) | (low & 0xffff)]; |
| 350 | } |
| 351 | |
| 352 | // Rotate a 32b number left `count` position |
| 353 | function rol32(a: number, count: number): number { |
no outgoing calls
no test coverage detected
searching dependent graphs…