* Is this value equal to other one? * @this {!UInt64} * @param {!Int64|!UInt64|number|string} other Other value * @returns {boolean} Equal result
(other)
| 1369 | * @returns {boolean} Equal result |
| 1370 | */ |
| 1371 | eq (other) { |
| 1372 | if (Int64.isInt64(other)) { |
| 1373 | if (((this.high >>> 31) === 1) && ((other.high >>> 31) === 1)) { |
| 1374 | return false |
| 1375 | } |
| 1376 | } else if (!UInt64.isUInt64(other)) { |
| 1377 | other = UInt64.fromValue(other) |
| 1378 | } |
| 1379 | return (this.high === other.high) && (this.low === other.low) |
| 1380 | } |
| 1381 | |
| 1382 | /** |
| 1383 | * Is this value not equal to other one? |