Altifigence Academy

4 / 20 · Check

Check the arithmetic contract

Choose accumulator width using the complete reduction length.

Eight-bit signed operands contribute K=4 products with no bias. The accumulator must preserve the full exact sum, including products of the most negative inputs. Choose width for the whole reduction; output scale conversion happens afterward.

Try it yourself

Give four operand pairs that demonstrate why a signed seventeen-bit accumulator is insufficient.

Read the explanation

Use (−128,−128) for every pair. Each product is 16384 and the sum is 65536, exceeding the signed seventeen-bit maximum 65535. Use the course's eighteen-bit accumulator.

Which width follows this course's conservative accumulator rule?

Choose an answer

Your choice applies to this browser. Change it any time using the footer.