Signedness is NOT semantic information and must be transmitted #7

Closed
opened 2025-07-20 19:07:22 -06:00 by sashakoshka · 2 comments
Owner

FORTUNATELY: there is a very good solution to this. We have exactly one slot open for a new tag. It would fit a signed version of LI perfectly. This does mean that SI does not have an unsigned version, but that's okay, because what the hell were you expecting for 5 bits? A sign bit? At that point, the values only go up to 15 and you can't do much with that.

FORTUNATELY: there is a very good solution to this. We have exactly one slot open for a new tag. It would fit a signed version of LI perfectly. This does mean that SI does not have an unsigned version, but that's okay, because what the hell were you expecting for 5 bits? A sign bit? At that point, the values only go up to 15 and you can't do much with that.
Author
Owner

Will replace LI with LSI and LUI (large signed/unsigned integer). The numbers will be shifted so that LUI == 1 << 6 and LSI == 2 << 6, and everything under is shifted down, ending at 7

Will replace LI with LSI and LUI (large signed/unsigned integer). The numbers will be shifted so that LUI == 1 << 6 and LSI == 2 << 6, and everything under is shifted down, ending at 7
Author
Owner

LUI should just be LI. The former is awkward.

LUI should just be LI. The former is awkward.
Sign in to join this conversation.
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: sashakoshka/hopp#7
No description provided.