diff options
author | dos-reis <gdr@axiomatics.org> | 2009-09-26 13:49:18 +0000 |
---|---|---|
committer | dos-reis <gdr@axiomatics.org> | 2009-09-26 13:49:18 +0000 |
commit | 91bd7571dc0baf8d17047d553e4616dd587c0ffb (patch) | |
tree | 2e2a2eb23ff2cb76b6eb3ae763a480ac1f0078ad /src/interp/sfsfun.boot | |
parent | 868f1d56a5bcd7d712855e98085e0e15d32a3264 (diff) | |
download | open-axiom-91bd7571dc0baf8d17047d553e4616dd587c0ffb.tar.gz |
* interp/: More cleanup.
Diffstat (limited to 'src/interp/sfsfun.boot')
-rw-r--r-- | src/interp/sfsfun.boot | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/interp/sfsfun.boot b/src/interp/sfsfun.boot index b26c2dd6..5090f0c5 100644 --- a/src/interp/sfsfun.boot +++ b/src/interp/sfsfun.boot @@ -83,7 +83,7 @@ fracpart(x) == second(MULTIPLE_-VALUE_-LIST(FLOOR(x))) intpart(x) == - CAR(MULTIPLE_-VALUE_-LIST(FLOOR(x))) + first(MULTIPLE_-VALUE_-LIST(FLOOR(x))) negintp(x) == if ZEROP IMAGPART(x) and x<0.0 and ZEROP fracpart(x) @@ -156,7 +156,7 @@ gammaRatapprox (x) == else Pi := PI lx := MULTIPLE_-VALUE_-LIST(FLOOR(x)) - intpartx := CAR(lx)+1 + intpartx := first(lx)+1 restx := second(lx) if ZEROP restx -- case of negative non-integer value then @@ -812,7 +812,7 @@ besselIback(v,z) == ipv := IMAGPART(v) rpv := REALPART(v) lm := MULTIPLE_-VALUE_-LIST(FLOOR(rpv)) - m := CAR(lm) --- floor of real part of v + m := first(lm) --- floor of real part of v n := 2*MAX(20,m+10) --- how large the back recurrence should be tv := second(lm)+(v-rpv) --- fractional part of real part of v --- plus imaginary part of v |