* Modulo this value by other one * @this {!Int64} * @param {!Int64|!UInt64|number|string} other Other value * @returns {!Int64} Module of two values
(other)
| 781 | * @returns {!Int64} Module of two values |
| 782 | */ |
| 783 | mod (other) { |
| 784 | if (!Int64.isInt64(other) && !UInt64.isUInt64(other)) { |
| 785 | other = Int64.fromValue(other) |
| 786 | } |
| 787 | return this.sub(this.div(other).mul(other)) |
| 788 | } |
| 789 | |
| 790 | /** |
| 791 | * Bitwise NOT this value |