diff options
| author | dos-reis <gdr@axiomatics.org> | 2011-03-12 17:04:43 +0000 |
|---|---|---|
| committer | dos-reis <gdr@axiomatics.org> | 2011-03-12 17:04:43 +0000 |
| commit | 52fddea19454dc2b9bcb54c6edd5a4cd4f5765a9 (patch) | |
| tree | 4b13ccc6d57c7c1ee615c83615b246c98eae388a /src/algebra/puiseux.spad.pamphlet | |
| parent | 42d38bee45a64edfc12641053e58581c20584363 (diff) | |
| download | open-axiom-52fddea19454dc2b9bcb54c6edd5a4cd4f5765a9.tar.gz | |
* src/algebra/: Systematically use negative? when comparing for
less than 0.
Diffstat (limited to 'src/algebra/puiseux.spad.pamphlet')
| -rw-r--r-- | src/algebra/puiseux.spad.pamphlet | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/algebra/puiseux.spad.pamphlet b/src/algebra/puiseux.spad.pamphlet index d9104a28..b465790c 100644 --- a/src/algebra/puiseux.spad.pamphlet +++ b/src/algebra/puiseux.spad.pamphlet @@ -125,7 +125,7 @@ UnivariatePuiseuxSeriesConstructor(Coef,ULS):_ monomial(c,k) == k = 0 => c :: % - k < 0 => puiseux(-k,monomial(c,-1)) + negative? k => puiseux(-k,monomial(c,-1)) puiseux(k,monomial(c,1)) coerce(ls:ULS) == puiseux(1,ls) @@ -504,7 +504,7 @@ UnivariatePuiseuxSeries(Coef,var,cen): Exports == Implementation where approximateLaurent: (ULS,Coef,I) -> Coef approximateLaurent(x,term,n) == - (m := n - (e := degree x)) < 0 => 0 + negative?(m := n - (e := degree x)) => 0 app := stToCoef(coefficients taylorRep x,term,0,m :: NNI) zero? e => app app * term ** (e :: RN) |
