From 001e19b08ba7fb1b9e6f6bdb44a82ba3db3fc532 Mon Sep 17 00:00:00 2001 From: dos-reis Date: Thu, 3 Apr 2008 04:23:42 +0000 Subject: Replace `^=' with `~='. --- src/algebra/solvefor.spad.pamphlet | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/algebra/solvefor.spad.pamphlet') 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). -- cgit v1.2.3