Roots of a cubic polynomial: Difference between revisions

m
→‎{{trans|Wren}}: 7->6, reverse now in Wren too
m (→‎{{trans|Raku}}: updated the test set)
m (→‎{{trans|Wren}}: 7->6, reverse now in Wren too)
Line 24:
=={{header|Phix}}==
=== {{trans|Wren}} ===
Note the sevensix functions matrix_trace() ... root_poly() are straightforward translations of code from matrix.wren and math.wren, and are not tested beyond matching the output here. ThereThe is also somepreviously rather suspicious"suspect use of reverse() in eigenvalues(), which kinda brute-forces it to work" is now in Wren too.
<syntaxhighlight lang="phix">
with javascript_semantics
7,804

edits