* Subtract other value from this value * @this {!UInt64} * @param {!Int64|!UInt64|number|string} other Other value * @returns {!UInt64} Difference of two values
(other)
| 1511 | * @returns {!UInt64} Difference of two values |
| 1512 | */ |
| 1513 | sub (other) { |
| 1514 | if (!Int64.isInt64(other) && !UInt64.isUInt64(other)) { |
| 1515 | other = UInt64.fromValue(other) |
| 1516 | } |
| 1517 | return this.add(other.neg()) |
| 1518 | } |
| 1519 | |
| 1520 | /** |
| 1521 | * Multiply this value with other one |