diff options
author | dos-reis <gdr@axiomatics.org> | 2010-06-23 12:57:00 +0000 |
---|---|---|
committer | dos-reis <gdr@axiomatics.org> | 2010-06-23 12:57:00 +0000 |
commit | 5c81f5a89627a71d4e0054730eea47cc99a9cef2 (patch) | |
tree | 5294366b1c51fc299456864c317bbcdfee21315d /src/algebra/strap/STAGG-.lsp | |
parent | b06599402ca23cce8ba7eea03886dc11a5d29af4 (diff) | |
download | open-axiom-5c81f5a89627a71d4e0054730eea47cc99a9cef2.tar.gz |
* interp/nruncomp.boot (optDeltaEntry): Don't optimize current
domain modemap references here.
* interp/g-opt.boot ($VMsideEffectFreeOperators): Include more
floating point operators.
($simpleVMoperators): Move FUNCALL here.
(isVMConstantForm): Tidy.
* interp/g-util.boot: Expand more floating point insns.
* interp/c-util.boot (replaceSimpleFunctions): Replace more
constants.
* algebra/integer.spad.pamphlet (Integer): More cleanup. Use
builtin functions.
* algebra/sf.spad.pamphlet: Likewise.
Diffstat (limited to 'src/algebra/strap/STAGG-.lsp')
-rw-r--r-- | src/algebra/strap/STAGG-.lsp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/algebra/strap/STAGG-.lsp b/src/algebra/strap/STAGG-.lsp index 7bfb0d2d..53991265 100644 --- a/src/algebra/strap/STAGG-.lsp +++ b/src/algebra/strap/STAGG-.lsp @@ -74,7 +74,7 @@ (DEFUN |STAGG-;elt;AIS;5| (|x| |i| $) (SEQ (SETQ |i| (- |i| (SPADCALL |x| (|getShellEntry| $ 21)))) (COND - ((OR (< |i| 0) + ((OR (MINUSP |i|) (SPADCALL (SETQ |x| (SPADCALL |x| @@ -91,7 +91,7 @@ (LET ((|l| (- (SPADCALL |i| (|getShellEntry| $ 28)) (SPADCALL |x| (|getShellEntry| $ 21))))) (COND - ((< |l| 0) (|error| "index out of range")) + ((MINUSP |l|) (|error| "index out of range")) ((NOT (SPADCALL |i| (|getShellEntry| $ 29))) (SPADCALL (SPADCALL |x| (|check-subtype| (>= |l| 0) @@ -156,7 +156,7 @@ (DEFUN |STAGG-;setelt;AI2S;11| (|x| |i| |s| $) (SEQ (SETQ |i| (- |i| (SPADCALL |x| (|getShellEntry| $ 21)))) (COND - ((OR (< |i| 0) + ((OR (MINUSP |i|) (SPADCALL (SETQ |x| (SPADCALL |x| @@ -173,7 +173,7 @@ (LET ((|l| (- (SPADCALL |i| (|getShellEntry| $ 28)) (SPADCALL |x| (|getShellEntry| $ 21))))) (COND - ((< |l| 0) (|error| "index out of range")) + ((MINUSP |l|) (|error| "index out of range")) ('T (SEQ (LETT |h| (COND |