Elektrine lite

← Feed

@rygorous@mastodon.gamedev.place

2025-03-03 17:56 UTC

@amonakov @kenshirriff After thinking about this for a bit, I believe that the design is actually the conventional [-4,4] signed digit set (or at least equivalent to it), it's just described in unfamiliar terms. As in, what Ken is describing is equivalent to what a signed-digit r8 multiplier does, it's just not making the signed digits explicit.

Replies (1)

  • @amonakov @kenshirriff First, note the +8 into next digit means we're not actually working with digits in [0,7] but [0,8] because we potentially have what is effectively a carry-in. The extended digit set gives us just enough breathing room so we can always absorb incoming carries immediately instead of needing real carry chain logic. The reason I think it might be the usual signed r8 is because 6x is handled as 8x-2x instead of 2(3x).

    Open ##1442832