* Subtract other value from this value * @this {!Int64} * @param {!Int64|!UInt64|number|string} other Other value * @returns {!Int64} Difference of two values
(other)
| 600 | * @returns {!Int64} Difference of two values |
| 601 | */ |
| 602 | sub (other) { |
| 603 | if (!Int64.isInt64(other) && !UInt64.isUInt64(other)) { |
| 604 | other = Int64.fromValue(other) |
| 605 | } |
| 606 | return this.add(other.neg()) |
| 607 | } |
| 608 | |
| 609 | /** |
| 610 | * Multiply this value with other one |