Polynomial long division: Difference between revisions

m
→‎{{header|Phix}}: now in distro
(Add Swift)
m (→‎{{header|Phix}}: now in distro)
Line 1,826:
 
=={{header|Phix}}==
<lang Phix>-- demo/rosetta/Polynomial_long_division.exw
<lang Phix>function degree(sequence p)
for i=length(p) to 1 by -1 do
if p[i]!=0 then return i end if
7,820

edits