hex β namespace overviewΒΆ
The hex namespace holds the hex-level standard library: every variable is a 4-bit nibble, and arithmetic is driven by precomputed lookup tables initialised by hex.init. Use it when you need fast arithmetic on multi-digit values β addition, multiplication, division, comparison, and so on.
Hex operations are 4Γ denser than the bit equivalents (1 nibble = 4 bits) and the table-driven ops run in roughly constant operations per nibble instead of growing with the bit width. Pointer and stack support is layered on top in the hex.pointers namespace.