Polynomial long division: Difference between revisions

Undo revision 361341 by Peak (talk)
(Added Algol 68)
(Undo revision 361341 by Peak (talk))
 
(3 intermediate revisions by 3 users not shown)
Line 2,992:
 
=={{header|Phix}}==
<!--(phixonline)-->
<syntaxhighlight lang="phix">
-- demo\rosetta\Polynomial_long_division.exw
Line 4,006 ⟶ 4,007:
===Version 1===
{{libheader|Wren-dynamic}}
<syntaxhighlight lang="ecmascriptwren">import "./dynamic" for Tuple
 
var Solution = Tuple.create("Solution", ["quotient", "remainder"])
Line 4,105 ⟶ 4,106:
 
===Version 2===
<syntaxhighlight lang="ecmascriptwren">class Polynom {
construct new(factors) {
_factors = factors.toList
2,484

edits