(x, y)
| 8037 | |
| 8038 | |
| 8039 | function safeAdd(x, y) { |
| 8040 | const lsw = (x & 0xffff) + (y & 0xffff); |
| 8041 | const msw = (x >> 16) + (y >> 16) + (lsw >> 16); |
| 8042 | return msw << 16 | lsw & 0xffff; |
| 8043 | } |
| 8044 | /* |
| 8045 | * Bitwise rotate a 32-bit number to the left. |
| 8046 | */ |
no outgoing calls
no test coverage detected
searching dependent graphs…