I've never implemented unsigned operations in Retro up to this point, but there are cases where they can be useful.
I am now planning to add an I/O device to support some operations on them in the near future, and to allow for better precision on some operations.
Initial functions planned:
Extended precision (using 64-bits intermediate):
What other functions should this support?
I have implemented but not yet documented:
unsigned:shift unsigned:+ unsigned:- unsigned:* unsigned:/mod unsigned:eq? unsigned:-eq? unsigned:lt? unsigned:gt?
In Napia, this is baked into the instruction set. Under Nga, it makes use of an I/O device to enable this, but implements the overall logic in a similar manner to Napia.