diff options
author | dos-reis <gdr@axiomatics.org> | 2010-06-02 00:28:03 +0000 |
---|---|---|
committer | dos-reis <gdr@axiomatics.org> | 2010-06-02 00:28:03 +0000 |
commit | 3878a5961fe87ed39d567d85e01d4ade9e41354f (patch) | |
tree | 09ef5da234502911658eab9c64f19d8305ae37ff /src/interp | |
parent | 50cfb5533a31afb7d85c0574ab6359efbc4f164e (diff) | |
download | open-axiom-3878a5961fe87ed39d567d85e01d4ade9e41354f.tar.gz |
Use builtin functions for DF.
Diffstat (limited to 'src/interp')
-rw-r--r-- | src/interp/g-opt.boot | 2 | ||||
-rw-r--r-- | src/interp/g-util.boot | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/src/interp/g-opt.boot b/src/interp/g-opt.boot index a582c8a2..249fbd1b 100644 --- a/src/interp/g-opt.boot +++ b/src/interp/g-opt.boot @@ -406,7 +406,7 @@ $VMsideEffectFreeOperators == %and %or %not %eq %ieq %ilt %ile %igt %ige %head %tail %integer? %imul %iadd %isub %igcd %ilcm %ipow %imin %imax %ieven? %iodd? %iinc %feq %flt %fle %fgt %fge %fmul %fadd %fsub %fexp %fmin %fmax %float? - %fpow %nil %pair? %lconcat %llength %lfirst %lsecond %lthird + %fpow %fdiv %nil %pair? %lconcat %llength %lfirst %lsecond %lthird %lreverse %lempty? %hash %ismall? %string? %ceq %clt %cle %cgt %cge %c2i %i2c) diff --git a/src/interp/g-util.boot b/src/interp/g-util.boot index d949a6fb..3e86213c 100644 --- a/src/interp/g-util.boot +++ b/src/interp/g-util.boot @@ -286,6 +286,8 @@ for x in [ ['%float?,:'FLOATP], -- binary float operations. ['%fadd, :"+"], + ['%fdiv, :"/"], + ['%feq, :"="], ['%fge, :">="], ['%fgt, :">"], ['%fle, :"<="], |