Commit 46273364 authored by Thomas Jahns's avatar Thomas Jahns 🤸
Browse files

Fix incorrect scan.

parent d5c2ebf4
......@@ -708,8 +708,8 @@ xlldivu(Xt_ulong u, Xt_ulong v)
xl2a(ua, u);
xl2a(va, v);
int m = 4, n = 4;
while (ua[m] == 0U) --m;
while (va[n] == 0U) --n;
while (ua[m-1] == 0U) --m;
while (va[n-1] == 0U) --n;
xdivmnu(qa, ra, ua, va, m, n);
d.quot = xa2l(qa);
d.rem = xa2l(ra);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment