Polynomial long division: Difference between revisions

m
→‎{{header|REXX}}: corrected a misspelling.
(added REXX)
m (→‎{{header|REXX}}: corrected a misspelling.)
Line 1,708:
zx=z
nx=n copies('0 ',words(z)-words(n))
qx='' /* QhotientQuotient */
Do Until words(zx)<words(n)
Parse Value div(zx,nx) With q zx
Line 1,749:
{{out}}
<pre>(x**3-12*x**2-42)/(x-3)=(x**2-9*x-27)
Remainder: -123 </pre>
 
=={{header|Ruby}}==