aboutsummaryrefslogtreecommitdiff
path: root/src/algebra/efuls.spad.pamphlet
diff options
context:
space:
mode:
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