* Modulo this value by other one * @this {!UInt64} * @param {!Int64|!UInt64|number|string} other Other value * @returns {!UInt64} Module of two values
(other)
| 1673 | * @returns {!UInt64} Module of two values |
| 1674 | */ |
| 1675 | mod (other) { |
| 1676 | if (!Int64.isInt64(other) && !UInt64.isUInt64(other)) { |
| 1677 | other = UInt64.fromValue(other) |
| 1678 | } |
| 1679 | return this.sub(this.div(other).mul(other)) |
| 1680 | } |
| 1681 | |
| 1682 | /** |
| 1683 | * Bitwise NOT this value |