If more-than-64bit arithmetic is desired, then I would say rustyrussell’s idea of using only-positive variable-length integers where larger lengths are allowed is more elegant, and coupled with FIXNUM
(or maybe TOFIXNUM
/FROMFIXNUM
) opcode to convert between variable and fixed encodings, and BYTEREV
to convert between low/big endian, that would cover a large range of practical needs