On Mon, 16 Nov 2026 at 10:00, Dean Rasheed <[email protected]> wrote: > > After the current call to div_var(), if the input is non-zero > (var->ndigits > 0), tmp_var should have a magnitude in the range [1, > 10], with rscale digits after the decimal point, so one should be able > to Assert the following for tmp_var: > > ndigits > 0 > weight == 0 > dscale == rscale > digits[0] >= 1 > digits[0] <= 10
Having said that, do we still care about supporting other NBASE values? If NBASE == 10, the overflow case would have weight == 1 and digits[0] == 1, which would need to be treated differently. Regards, Dean
