* Is this value equal to other one? * @this {!Int64} * @param {!Int64|!UInt64|number|string} other Other value * @returns {boolean} Equal result
(other)
| 455 | * @returns {boolean} Equal result |
| 456 | */ |
| 457 | eq (other) { |
| 458 | if (UInt64.isUInt64(other)) { |
| 459 | if (((this.high >>> 31) === 1) && ((other.high >>> 31) === 1)) { |
| 460 | return false |
| 461 | } |
| 462 | } else if (!Int64.isInt64(other)) { |
| 463 | other = Int64.fromValue(other) |
| 464 | } |
| 465 | return (this.high === other.high) && (this.low === other.low) |
| 466 | } |
| 467 | |
| 468 | /** |
| 469 | * Is this value not equal to other one? |