MCPcopy Create free account
hub / github.com/GamerHack/GamerHack.github.io / neg

Method neg

g2all/900/module/int64.js:77–84  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

75 }
76
77 neg() {
78 const u32 = this._u32;
79 const low = (~u32[0] >>> 0) + 1;
80 return new this.constructor(
81 low >>> 0,
82 ((~u32[1] >>> 0) + (low > 0xffffffff)) >>> 0,
83 );
84 }
85
86 eq(b) {
87 const values = lohi_from_one(b);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected