fix printer reduced form order

This commit is contained in:
hugogogo
2026-05-15 00:16:35 +02:00
parent aa78af4e0f
commit 7e16bb5b6f
7 changed files with 52 additions and 46 deletions

View File

@@ -356,7 +356,7 @@ Radicant is strictly positive, the two solutions are:
run_test \
"29. degree 2 pure" \
"16 * x^2 + 5 * x^1 - 4 * x^0 = 5 * x" "\
Reduced form: -4 * x^0 + 0 * x^1 + 3 * x^2 = 0
Reduced form: -4 * x^0 + 0 * x^1 + 16 * x^2 = 0
Polynomial degree: 2
Radicant is strictly positive, the two solutions are:
1/2
@@ -366,7 +366,7 @@ Radicant is strictly positive, the two solutions are:
run_test \
"30. degree 2 pure" \
"4 * x^2 + 5 * x^1 - 16 * x^0 = 5 * x" "\
Reduced form: -4 * x^0 + 0 * x^1 + 3 * x^2 = 0
Reduced form: -16 * x^0 + 0 * x^1 + 4 * x^2 = 0
Polynomial degree: 2
Radicant is strictly positive, the two solutions are:
2