Polynomial synthetic division: Difference between revisions

m
simpler printf()
m (removed the __TOC__ and let this Wiki use the default, added whitespace in the task's preamble and before the (default) table of contents (TOC).d)
m (simpler printf())
Line 276:
sequence {n,d} = tests[t],
{q,r} = extendedSyntheticDivision(n, d)
printf(1,"%sv / %sv = %sv, remainder %sv\n",{n,d,q,r})
{sprint(n),sprint(d),sprint(q),sprint(r)})
end for</lang>
{{out}}
7,818

edits