aboutsummaryrefslogtreecommitdiff
path: root/src/interp/g-opt.boot
diff options
context:
space:
mode:
authordos-reis <gdr@axiomatics.org>2011-02-05 03:52:54 +0000
committerdos-reis <gdr@axiomatics.org>2011-02-05 03:52:54 +0000
commit5eebd42bedc639efb11826fcc56520afbb4637ca (patch)
treec692329216ca44718ddb41e58679d5c334187a4f /src/interp/g-opt.boot
parentdd16b47e4904b1839b2918cf5b38c352979a6141 (diff)
downloadopen-axiom-5eebd42bedc639efb11826fcc56520afbb4637ca.tar.gz
* interp/g-opt.boot ($VMsideEffectFreeOperators): Remove CGREATERP
and GGREATERP. Add VM-level complex number operators. * interp/lisp-backend.boot: Expand them. * algebra/gaussian.spad.pamphlet (ComplexCategory): Use VM form instead of Lisp level forms. * algebra/pfr.spad.pamphlet (PartialFraction): Likewise. * algebra/si.spad.pamphlet (SingleInteger): Likewise. * algebra/symbol.spad.pamphlet (Symbol): Likewise.
Diffstat (limited to 'src/interp/g-opt.boot')
-rw-r--r--src/interp/g-opt.boot40
1 files changed, 21 insertions, 19 deletions
diff --git a/src/interp/g-opt.boot b/src/interp/g-opt.boot
index fbdf5687..58700b52 100644
--- a/src/interp/g-opt.boot
+++ b/src/interp/g-opt.boot
@@ -399,25 +399,27 @@ optSuchthat [.,:u] == ["SUCHTHAT",:u]
++ List of VM side effect free operators.
$VMsideEffectFreeOperators ==
'(SPADfirst ASH IDENTP FLOAT_-RADIX FLOAT FLOAT_-SIGN
- CGREATERP GGREATERP %when %false %true
- %otherwise %2bit %2bool
- %and %or %not %peq %ieq %ilt %ile %igt %ige %head %tail %integer?
- %beq %blt %ble %bgt %bge %bitand %bitior %bitnot %bcompl %ilength
- %ibit %icst0 %icst1
- %imul %iadd %isub %igcd %ilcm %ipow %imin %imax %ieven? %iodd? %iinc
- %irem %iquo %idivide %idec
- %feq %flt %fle %fgt %fge %fmul %fadd %fsub %fexp %fmin %fmax %float?
- %fpow %fdiv %fneg %i2f %fminval %fmaxval %fbase %fprec %ftrunc
- %fsin %fcos %ftan %fcot %fsec %fcsc %fatan %facot
- %fsinh %fcosh %ftanh %fcsch %fcoth %fsech %fasinh %facsch
- %nil %pair? %lconcat %llength %lfirst %lsecond %lthird %listlit
- %lreverse %lempty? %hash %ismall? %string? %f2s
- %ccst %ceq %clt %cle %cgt %cge %c2i %i2c %s2c %cup %cdown %sname
- %strlength %streq %i2s %schar %strlt %strconc %strcopy %strstc
- %aref %vref %vlength %veclit
- %bitvecnot %bitvecand %bitvecnand %bivecor %bitvecnor %bitvecxor
- %bitveccopy %bitvecconc %bitveclength %bitvecref %bitveceq %bitveclt
- %before? %equal %sptreq %ident? %property)
+ %when %false %true %otherwise %2bit %2bool
+ %and %or %not %peq %ieq %ilt %ile %igt %ige %head %tail %integer?
+ %beq %blt %ble %bgt %bge %bitand %bitior %bitxor %bitnot %bcompl
+ %ilength %ibit %icst0 %icst1
+ %imul %iadd %isub %igcd %ilcm %ipow %imin %imax %ieven? %iodd? %iinc
+ %irem %iquo %idivide %idec
+ %feq %flt %fle %fgt %fge %fmul %fadd %fsub %fexp %fmin %fmax %float?
+ %fpow %fdiv %fneg %i2f %fminval %fmaxval %fbase %fprec %ftrunc
+ %fsin %fcos %ftan %fcot %fsec %fcsc %fatan %facot
+ %fsinh %fcosh %ftanh %fcsch %fcoth %fsech %fasinh %facsch
+ %val2z %z2val %zlit %zreal %zimag
+ %zexp %zlog %zsin %zcos %ztan %zasin %zacos %zatan
+ %zsinh %zcosh %ztanh %zasinh %zacosh %zatanh
+ %nil %pair? %lconcat %llength %lfirst %lsecond %lthird %listlit
+ %lreverse %lempty? %hash %ismall? %string? %f2s
+ %ccst %ceq %clt %cle %cgt %cge %c2i %i2c %s2c %cup %cdown %sname
+ %strlength %streq %i2s %schar %strlt %strconc %strcopy %strstc
+ %aref %vref %vlength %veclit
+ %bitvecnot %bitvecand %bitvecnand %bivecor %bitvecnor %bitvecxor
+ %bitveccopy %bitvecconc %bitveclength %bitvecref %bitveceq %bitveclt
+ %before? %equal %sptreq %ident? %property)
++ List of simple VM operators
$simpleVMoperators ==