(x, y)
| 533 | * to work around bugs in some JS interpreters. |
| 534 | */ |
| 535 | function safe_add(x, y) { |
| 536 | var lsw = (x & 0xFFFF) + (y & 0xFFFF); |
| 537 | var msw = (x >> 16) + (y >> 16) + (lsw >> 16); |
| 538 | return (msw << 16) | (lsw & 0xFFFF); |
| 539 | } |
| 540 | |
| 541 | /* |
| 542 | * Bitwise rotate a 32-bit number to the left. |
no outgoing calls
no test coverage detected
searching dependent graphs…