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

Function hex_np

g2all/700/module/utils.js:75–77  ·  view source on GitHub ↗
(number)

Source from the content-addressed store, hash-verified

73export function align(a, alignment) {
74 if (!(a instanceof Int)) {
75 a = new Int(a);
76 }
77 const mask = -alignment & 0xffffffff;
78 let type = a.constructor;
79 let low = a.lo & mask;
80 return new type(low, a.hi);

Callers

nothing calls this directly

Calls 1

toStringMethod · 0.45

Tested by

no test coverage detected