Polynomial long division: Difference between revisions

Content added Content deleted
Line 282: Line 282:
((0 . -123)) ; -123</lang>
((0 . -123)) ; -123</lang>
=={{header|D}}==
=={{header|D}}==
To keep code simpler it works with arrays of doubles only. D V.2.
<lang d>import std.stdio, std.range, std.algorithm, std.typecons;
<lang d>import std.stdio, std.range, std.algorithm, std.typecons;