diff options
author | dos-reis <gdr@axiomatics.org> | 2009-09-26 00:33:26 +0000 |
---|---|---|
committer | dos-reis <gdr@axiomatics.org> | 2009-09-26 00:33:26 +0000 |
commit | 868f1d56a5bcd7d712855e98085e0e15d32a3264 (patch) | |
tree | 4d35d3eab5979f150c3ff32e91ef21bf2d6853be /src/interp/sfsfun.boot | |
parent | 489cfd14dccfcaf7b0ebd41e9d0f8e081a9d1d9f (diff) | |
download | open-axiom-868f1d56a5bcd7d712855e98085e0e15d32a3264.tar.gz |
* interp/as.boot: Clean up.
* interp/ax.boot: Likewise.
* interp/br-con.boot: Likewise.
* interp/br-data.boot: Likewise.
* interp/br-op1.boot: Likewise.
* interp/br-op2.boot: Likewise.
* interp/br-saturn.boot: Likewise.
* interp/br-search.boot: Likewise.
* interp/c-util.boot: Likewise.
* interp/category.boot: Likewise.
* interp/cattable.boot: Likewise.
* interp/clam.boot: Likewise.
* interp/compiler.boot: Likewise.
* interp/cstream.boot: Likewise.
* interp/define.boot: Likewise.
* interp/format.boot: Likewise.
* interp/fortcall.boot: Likewise.
* interp/functor.boot: Likewise.
* interp/g-boot.boot: Likewise.
* interp/g-opt.boot: Likewise.
* interp/g-timer.boot: Likewise.
* interp/guess.boot: Likewise.
* interp/i-analy.boot: Likewise.
* interp/i-coerce.boot: Likewise.
* interp/i-coerfn.boot: Likewise.
* interp/i-eval.boot: Likewise.
* interp/i-funsel.boot: Likewise.
* interp/i-intern.boot: Likewise.
* interp/i-map.boot: Likewise.
* interp/i-object.boot: Likewise.
* interp/i-output.boot: Likewise.
* interp/i-resolv.boot: Likewise.
* interp/i-spec1.boot: Likewise.
* interp/i-spec2.boot: Likewise.
* interp/i-syscmd.boot: Likewise.
* interp/int-top.boot: Likewise.
* interp/interop.boot: Likewise.
* interp/lisplib.boot: Likewise.
* interp/mark.boot: Likewise.
* interp/modemap.boot: Likewise.
* interp/msg.boot: Likewise.
* interp/msgdb.boot: Likewise.
* interp/newfort.boot: Likewise.
* interp/nrunfast.boot: Likewise.
* interp/nrungo.boot: Likewise.
* interp/nrunopt.boot: Likewise.
* interp/pf2atree.boot: Likewise.
* interp/pile.boot: Likewise.
* interp/pspad1.boot: Likewise.
* interp/ptrees.boot: Likewise.
* interp/scan.boot: Likewise.
* interp/sfsfun.boot: Likewise.
* interp/showimp.boot: Likewise.
* interp/slam.boot: Likewise.
* interp/trace.boot: Likewise.
* interp/wi1.boot: Likewise.
* interp/word.boot: Likewise.
Diffstat (limited to 'src/interp/sfsfun.boot')
-rw-r--r-- | src/interp/sfsfun.boot | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/interp/sfsfun.boot b/src/interp/sfsfun.boot index a740f3d5..b26c2dd6 100644 --- a/src/interp/sfsfun.boot +++ b/src/interp/sfsfun.boot @@ -1,6 +1,6 @@ -- Copyright (c) 1991-2002, The Numerical ALgorithms Group Ltd. -- All rights reserved. --- Copyright (C) 2007, Gabriel Dos Reis. +-- Copyright (C) 2007-2009, Gabriel Dos Reis. -- All rights reserved. -- -- Redistribution and use in source and binary forms, with or without @@ -80,7 +80,7 @@ nangenericcomplex () == fracpart(x) == - CADR(MULTIPLE_-VALUE_-LIST(FLOOR(x))) + second(MULTIPLE_-VALUE_-LIST(FLOOR(x))) intpart(x) == CAR(MULTIPLE_-VALUE_-LIST(FLOOR(x))) @@ -157,7 +157,7 @@ gammaRatapprox (x) == Pi := PI lx := MULTIPLE_-VALUE_-LIST(FLOOR(x)) intpartx := CAR(lx)+1 - restx := CADR(lx) + restx := second(lx) if ZEROP restx -- case of negative non-integer value then FloatError ('"Gamma undefined for non-positive integers: ~D",x) @@ -237,7 +237,7 @@ cgammaG(z1,z2) == LOG(2*PI) + PI*z2 - COMPLEX(0.0,1.0)*PI*(z1-.5) logH(z1,z2,z) == - z1bar := CADR(MULTIPLE_-VALUE_-LIST(FLOOR(z1))) ---frac part of z1 + z1bar := second(MULTIPLE_-VALUE_-LIST(FLOOR(z1))) ---frac part of z1 piz1bar := PI*z1bar piz2 := PI*z2 twopiz2 := 2.0*piz2 @@ -814,7 +814,7 @@ besselIback(v,z) == lm := MULTIPLE_-VALUE_-LIST(FLOOR(rpv)) m := CAR(lm) --- floor of real part of v n := 2*MAX(20,m+10) --- how large the back recurrence should be - tv := CADR(lm)+(v-rpv) --- fractional part of real part of v + tv := second(lm)+(v-rpv) --- fractional part of real part of v --- plus imaginary part of v vp1 := tv+1.0; result := BesselIBackRecur(v,m,tv,z,'"I",n) |