MCPcopy Create free account
hub / github.com/chronoxor/FastBinaryEncoding / xor

Method xor

projects/JavaScript/proto/int64.js:831–836  ·  view source on GitHub ↗

* Bitwise XOR this value and other one * @this {!Int64} * @param {!Int64|!UInt64|number|string} other Other value * @returns {!Int64} Bitwise XOR result value

(other)

Source from the content-addressed store, hash-verified

829 * @returns {!Int64} Bitwise XOR result value
830 */
831 xor (other) {
832 if (!Int64.isInt64(other) && !UInt64.isUInt64(other)) {
833 other = Int64.fromValue(other)
834 }
835 return Int64.fromBits(this.low ^ other.low, this.high ^ other.high)
836 }
837
838 /**
839 * This Int64 with bits shifted to the left by the given amount

Callers

nothing calls this directly

Calls 4

isInt64Method · 0.80
isUInt64Method · 0.80
fromValueMethod · 0.45
fromBitsMethod · 0.45

Tested by

no test coverage detected