aboutsummaryrefslogtreecommitdiff
path: root/src/algebra/efuls.spad.pamphlet
diff options
context:
space:
mode:
authordos-reis <gdr@axiomatics.org>2011-03-12 19:17:32 +0000
committerdos-reis <gdr@axiomatics.org>2011-03-12 19:17:32 +0000
commitc93e84048964194e5674e859d6bd8827010f09f6 (patch)
tree407ca23d232bf3f974550fce0175c49495ef49c0 /src/algebra/efuls.spad.pamphlet
parent52fddea19454dc2b9bcb54c6edd5a4cd4f5765a9 (diff)
downloadopen-axiom-c93e84048964194e5674e859d6bd8827010f09f6.tar.gz
* src/algebra/: Systematically use negative? when comparing for
greater 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 728522ce..b20867e0 100644
--- a/src/algebra/efuls.spad.pamphlet
+++ b/src/algebra/efuls.spad.pamphlet
@@ -220,7 +220,7 @@ ElementaryFunctionsUnivariateLaurentSeries(Coef,UTS,ULS):_
lc := coefficient(uls,ord)
(rat := retractIfCan(lc)@Union(RN,"failed")) case "failed" =>
(1/2) * pi()
- (rat :: RN) > 0 => (1/2) * pi()
+ positive?(rat :: RN) => (1/2) * pi()
(-1/2) * pi()
(1/2) * pi()
return "failed"
@@ -238,7 +238,7 @@ ElementaryFunctionsUnivariateLaurentSeries(Coef,UTS,ULS):_
RATS =>
lc := coefficient(uls,ord)
(rat := retractIfCan(lc)@Union(RN,"failed")) case "failed" => 0
- (rat :: RN) > 0 => 0
+ positive?(rat :: RN) => 0
TRANSFCN => pi()
return "failed"
0
@@ -321,7 +321,7 @@ ElementaryFunctionsUnivariateLaurentSeries(Coef,UTS,ULS):_
lc := coefficient(uls,ord)
(rat := retractIfCan(lc)@Union(RN,"failed")) case "failed" =>
(1/2) * pi()
- (rat :: RN) > 0 => (1/2) * pi()
+ positive?(rat :: RN) => (1/2) * pi()
(-1/2) * pi()
(1/2) * pi()
error "atan: series expansion involves transcendental constants"
@@ -342,7 +342,7 @@ ElementaryFunctionsUnivariateLaurentSeries(Coef,UTS,ULS):_
RATS =>
lc := coefficient(uls,ord)
(rat := retractIfCan(lc)@Union(RN,"failed")) case "failed" => 0
- (rat :: RN) > 0 => 0
+ positive?(rat :: RN) => 0
TRANSFCN => pi()
error "acot: series expansion involves transcendental constants"
0