aboutsummaryrefslogtreecommitdiff
path: root/src/algebra/efuls.spad.pamphlet
diff options
context:
space:
mode:
authordos-reis <gdr@axiomatics.org>2011-03-12 17:04:43 +0000
committerdos-reis <gdr@axiomatics.org>2011-03-12 17:04:43 +0000
commit52fddea19454dc2b9bcb54c6edd5a4cd4f5765a9 (patch)
tree4b13ccc6d57c7c1ee615c83615b246c98eae388a /src/algebra/efuls.spad.pamphlet
parent42d38bee45a64edfc12641053e58581c20584363 (diff)
downloadopen-axiom-52fddea19454dc2b9bcb54c6edd5a4cd4f5765a9.tar.gz
* src/algebra/: Systematically use negative? when comparing for
less than 0.
Diffstat (limited to 'src/algebra/efuls.spad.pamphlet')
-rw-r--r--src/algebra/efuls.spad.pamphlet8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/algebra/efuls.spad.pamphlet b/src/algebra/efuls.spad.pamphlet
index e149806f..728522ce 100644
--- a/src/algebra/efuls.spad.pamphlet
+++ b/src/algebra/efuls.spad.pamphlet
@@ -214,7 +214,7 @@ ElementaryFunctionsUnivariateLaurentSeries(Coef,UTS,ULS):_
coef := coefficient(uls,0)
(ord := order(uls,0)) = 0 and coef * coef = -1 => "failed"
cc : Coef :=
- ord < 0 =>
+ negative? ord =>
TRANSFCN =>
RATS =>
lc := coefficient(uls,ord)
@@ -234,7 +234,7 @@ ElementaryFunctionsUnivariateLaurentSeries(Coef,UTS,ULS):_
coef := coefficient(uls,0)
(ord := order(uls,0)) = 0 and coef * coef = -1 => "failed"
cc : Coef :=
- ord < 0 =>
+ negative? ord =>
RATS =>
lc := coefficient(uls,ord)
(rat := retractIfCan(lc)@Union(RN,"failed")) case "failed" => 0
@@ -315,7 +315,7 @@ ElementaryFunctionsUnivariateLaurentSeries(Coef,UTS,ULS):_
(ord := order(uls,0)) = 0 and coef * coef = -1 =>
error "atan: series expansion has logarithmic term"
cc : Coef :=
- ord < 0 =>
+ negative? ord =>
TRANSFCN =>
RATS =>
lc := coefficient(uls,ord)
@@ -338,7 +338,7 @@ ElementaryFunctionsUnivariateLaurentSeries(Coef,UTS,ULS):_
(ord := order(uls,0)) = 0 and coef * coef = -1 =>
error "acot: series expansion has logarithmic term"
cc : Coef :=
- ord < 0 =>
+ negative? ord =>
RATS =>
lc := coefficient(uls,ord)
(rat := retractIfCan(lc)@Union(RN,"failed")) case "failed" => 0