aboutsummaryrefslogtreecommitdiff
path: root/src/algebra/solvefor.spad.pamphlet
diff options
context:
space:
mode:
Diffstat (limited to 'src/algebra/solvefor.spad.pamphlet')
-rw-r--r--src/algebra/solvefor.spad.pamphlet4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/algebra/solvefor.spad.pamphlet b/src/algebra/solvefor.spad.pamphlet
index 7095d4e1..faf51c7d 100644
--- a/src/algebra/solvefor.spad.pamphlet
+++ b/src/algebra/solvefor.spad.pamphlet
@@ -131,7 +131,7 @@ PolynomialSolveByFormulas(UP, F): PSFcat == PSFdef where
error concat("Polynomial must be of degree ", n::String)
needLcoef(cn: F): Boolean ==
- cn ^= 0 => true
+ cn ~= 0 => true
error "Leading coefficient must not be 0."
needChar0(): Boolean ==
@@ -253,7 +253,7 @@ PolynomialSolveByFormulas(UP, F): PSFcat == PSFdef where
-- t0 := the cubic resolvent of x**3-p*x**2-4*r*x+4*p*r-q**2
-- The roots of the translated polynomial are those of
-- two quadratics. (What about rt=0 ?)
- -- rt=0 can be avoided by picking a root ^= p of the cubic
+ -- rt=0 can be avoided by picking a root ~= p of the cubic
-- polynomial above. This is always possible provided that
-- the input is squarefree. In this case the two other roots
-- are +(-) 2*r**(1/2).