Pud / Machine shop
Parts Counter
Two tools for a signed bigint. Specify the cut.

Machining order
Finished part
18446744073709551615n
Extract the low 64 bits.
value & 0xffffffffffffffffnPud checks this operation against its arithmetic rule for every signed bigint.
Read the TypeScript proof ↗