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

Method and

projects/JavaScript/proto/int64.js:805–810  ·  view source on GitHub ↗

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

(other)

Source from the content-addressed store, hash-verified

803 * @returns {!Int64} Bitwise AND result value
804 */
805 and (other) {
806 if (!Int64.isInt64(other) && !UInt64.isUInt64(other)) {
807 other = Int64.fromValue(other)
808 }
809 return Int64.fromBits(this.low & other.low, this.high & other.high)
810 }
811
812 /**
813 * Bitwise OR this value and other one

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